/* TV Remote Control App Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Custom Properties */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --tv-primary: #1a73e8;
    --tv-secondary: #34a853;
    --tv-accent: #fbbc04;
    --tv-gradient: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.game-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--tv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Abds Section */
.app-bds-section {
    background: var(--tv-gradient);
    position: relative;
    overflow: hidden;
    color: white;
}

.app-bds-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
    background-position: center;
}

.app-info {
    position: relative;
    z-index: 2;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.app-developer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.app-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.app-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.app-image-container {
    position: relative;
    text-align: center;
}

.app-main-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.3s ease;
    width: 66%;
    height: 66%;
    object-fit: cover;
}

.app-main-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* Legacy support */
.game-bds-section {
    background: var(--tv-gradient);
    position: relative;
    overflow: hidden;
    color: white;
}

.game-info {
    position: relative;
    z-index: 2;
}

.game-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--tv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.game-image-container {
    position: relative;
    text-align: center;
}

.game-main-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.3s ease;
}

.game-main-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) { top: 10%; left: 10%; }
.floating-icon:nth-child(2) { top: 20%; right: 15%; }
.floating-icon:nth-child(3) { bottom: 30%; left: 20%; }
.floating-icon:nth-child(4) { bottom: 15%; right: 10%; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Download Buttons */
.download-buttons {
    margin-top: 2rem;
}

.download-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.download-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Screenshots Section */
.screenshots-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.screenshots-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    justify-content: center;
}

.screenshot-item {
    flex: 0 0 280px;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.screenshot-item:hover {
    transform: translateY(-10px);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--tv-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-header {
    background: var(--tv-gradient);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.info-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.info-content {
    padding: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

.info-value {
    color: var(--secondary-color);
    font-size: 1rem;
    text-align: right;
}

.data-safety-notice {
    background: rgba(26, 115, 232, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(26, 115, 232, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.data-safety-notice h4 {
    color: var(--tv-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-safety-notice p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* Legacy How To Section styles for backward compatibility */
.howto-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.howto-steps {
    padding: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--tv-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step-content p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.howto-tips {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.howto-tips h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: var(--tv-primary);
    color: white;
}

.tip-item .material-icons {
    margin-right: 1rem;
    color: var(--tv-accent);
    font-size: 1.5rem;
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background: var(--tv-gradient);
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.feature-badge .material-icons {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars .material-icons {
    color: var(--tv-accent);
    font-size: 1.5rem;
}

.review-card p {
    font-style: italic;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reviewer strong {
    color: var(--dark-color);
    font-weight: 600;
}

.reviewer span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Responsive Design */
@media (min-width: 1200px) {
    .screenshots-carousel {
        max-width: 1200px;
        margin: 0 auto;
        gap: 2rem;
    }
    
    .screenshot-item {
        flex: 0 0 260px;
        height: 460px;
    }
}

@media (max-width: 768px) {
    .app-title, .game-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .app-main-image, .game-main-image {
        transform: none;
        width: 90%;
        height: auto;
    }
    
    .app-main-image:hover, .game-main-image:hover {
        transform: scale(1.05);
    }
    
    .floating-icons {
        display: none;
    }
    
    .screenshots-carousel {
        gap: 1rem;
        justify-content: flex-start;
        padding-left: 1rem;
    }
    
    .screenshot-item {
        flex: 0 0 240px;
        height: 400px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-value {
        text-align: left;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .download-features {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .app-title, .game-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .download-buttons .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .screenshots-carousel {
        padding: 1rem 0;
    }
    
    .screenshot-item {
        flex: 0 0 220px;
        height: 350px;
    }
    
    .info-content {
        padding: 1.5rem;
    }
    
    .data-safety-notice {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--tv-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tv-primary);
} 