* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #0f0f0f;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.seo-text {
    display: none;
}

/* Dynamic background image system */
.gta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gta-background.active {
    opacity: 0.25;
}

/* Background image info display */
.background-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 300;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.background-info.visible {
    opacity: 0.8;
    transform: translateY(0);
}

.background-info i {
    margin-right: 6px;
    font-size: 10px;
    opacity: 0.7;
}

.background-info span {
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* Toggle countdown button */
.toggle-countdown {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffd700;
    font-size: 14px;
}

.toggle-countdown:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

.toggle-countdown:active {
    transform: scale(0.95);
}

.toggle-countdown.hidden i {
    transform: rotate(180deg);
}

/* Countdown visibility states */
.container.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-family: 'Pricedown Bl', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ff4500, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    animation: gradientShift 3s ease-in-out infinite;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: #b0b0b0;
    letter-spacing: 2px;
}

.main-content {
    animation: fadeIn 1.5s ease-out;
}

.release-date {
    margin-bottom: 40px;
}

.date-display {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 15px 30px;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: breathe 4s ease-in-out infinite;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.countdown-value {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    will-change: transform, color;
}

.countdown-label {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trailers-section {
    margin-bottom: 40px;
    animation: fadeIn 2s ease-out;
}

.trailers-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trailers-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.trailer-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.trailer-link:hover {
    transform: translateY(-8px) scale(1.02);
}

.trailer-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    width: 320px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trailer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.05) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.trailer-card:hover::before {
    opacity: 1;
}

.trailer-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 20px 60px rgba(255, 215, 0, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.trailer-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
}

.trailer-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.9);
}

.trailer-card:hover .trailer-thumbnail img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 69, 0, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.trailer-card:hover .play-button {
    background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(255, 69, 0, 1));
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.trailer-info {
    padding: 25px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    position: relative;
    z-index: 1;
}

.trailer-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.trailer-info p {
    color: #ffd700;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.progress-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4500, #ffd700);
    border-radius: 4px;
    transition: width 1s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Milestones Section */
.milestones-section {
    margin-bottom: 40px;
}

.milestones-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.milestones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.milestone {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.milestone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff4500);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.milestone:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.milestone:hover::before {
    opacity: 1;
}

.milestone.past {
    border-color: rgba(0, 255, 0, 0.2);
    background: rgba(0, 255, 0, 0.05);
}

.milestone.past::before {
    background: linear-gradient(90deg, #00ff00, #00aa00);
    opacity: 0.6;
}

.milestone.upcoming {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.05);
}

.milestone.upcoming::before {
    background: linear-gradient(90deg, #ffd700, #ff4500);
    opacity: 0.8;
}

.milestone-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #ffd700;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.milestone.past .milestone-icon {
    color: #00ff00;
    border-color: rgba(0, 255, 0, 0.3);
}

.milestone-content {
    flex: 1;
}

.milestone-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.milestone-description {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 8px;
    line-height: 1.4;
}

.milestone-date {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.milestone-status {
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.milestone-status.past {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.milestone-status.upcoming {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Responsive Design for Milestones */
@media (max-width: 768px) {
    .milestones-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .milestone {
        padding: 15px;
        gap: 12px;
    }
    
    .milestone-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .milestone-title {
        font-size: 1rem;
    }
    
    .milestone-description {
        font-size: 0.85rem;
    }
}

/* Motivational Quote */
.motivational-quote {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    color: #ffd700;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    color: #ffd700;
}

.separator {
    color: #666;
    margin: 0 10px;
}

.footer-text {
    margin-top: 15px;
    text-align: center;
}

.footer-text p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.footer-text a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: #ff4500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        padding: 15px;
    }
    
    .social-links {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .countdown-item {
        padding: 10px;
    }
}
