/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a0a 100%);
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ff1b2d;
    padding: 0.75rem 0;
    position: relative;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff1b2d, #ff4757);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff1b2d;
}

.detection-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 27, 45, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 27, 45, 0.3);
}

.browser-text {
    font-size: 0.9rem;
    color: #ffffff;
}

.browser-icon {
    font-size: 1.2rem;
}

.download-btn {
    background: linear-gradient(45deg, #ff1b2d, #ff4757);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 27, 45, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 27, 45, 0.4);
}

.download-icon {
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 10, 10, 0.95) 50%, rgba(10, 10, 10, 0.95) 100%),
        url('https://images.pexels.com/photos/442576/pexels-photo-442576.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 27, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 71, 87, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    height: 100%;
    gap: 2rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #ff1b2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 600px;
    width: 100%;
}

.feature-card {
    background: rgba(255, 27, 45, 0.1);
    border: 1px solid rgba(255, 27, 45, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 27, 45, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.feature-title {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.feature-desc {
    font-size: 0.75rem;
    color: #cccccc;
}

.cta-button {
    background: linear-gradient(45deg, #ff1b2d, #ff4757);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 27, 45, 0.5);
    min-width: 300px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 27, 45, 0.6);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Gaming Image */
.hero-right {
    display: none;
}

.gaming-image {
    width: 100%;
    max-width: 500px;
}

.browser-mockup {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 27, 45, 0.3);
}

.browser-header {
    background: rgba(255, 27, 45, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 27, 45, 0.2);
}

.browser-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f57; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #28ca42; }

.address-bar {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #cccccc;
    font-size: 0.9rem;
    flex: 1;
}

.browser-content {
    padding: 2rem;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2a1a1a);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 27, 45, 0.3);
}

.game-ui {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.health-bar {
    width: 100px;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.health-fill {
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, #ff1b2d, #ff4757);
}

.score {
    color: #ff1b2d;
    font-weight: bold;
    font-size: 0.9rem;
}

.game-character {
    font-size: 4rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid #ff1b2d;
    padding: 1rem 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-weight: bold;
    color: #ff1b2d;
    font-size: 1.1rem;
}

.footer-tagline {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-copyright {
    color: #888888;
    font-size: 0.85rem;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 27, 45, 0.3);
    color: #cccccc;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(255, 27, 45, 0.2);
    color: #ffffff;
    border-color: #ff1b2d;
}

/* Notification */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #ff1b2d;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    transition: transform 0.5s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
}

.notification.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-text strong {
    color: #ff1b2d;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notification-text p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #ff1b2d;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 1.25rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .detection-info {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        min-width: 250px;
    }
    
    .footer-content {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        min-width: 200px;
    }
}