/* ==========================================
   NOSTALGIA GAME WEBSITE - VAPORWAVE THEME
   ========================================== */

/* CSS Variables for Theming */
:root {
    --color-primary: #ff71ce;
    --color-secondary: #01cdfe;
    --color-accent: #05ffa1;
    --color-warning: #fffb96;
    --color-bg-dark: #0a0e27;
    --color-bg-medium: #1a1f3a;
    --color-bg-light: #2a2f4a;
    --color-text: #ffffff;
    --color-text-muted: #b8b8d1;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-vaporwave: linear-gradient(135deg, #ff71ce 0%, #01cdfe 50%, #05ffa1 100%);
    --shadow-glow: 0 0 20px rgba(255, 113, 206, 0.5);
    --shadow-glow-blue: 0 0 20px rgba(1, 205, 254, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--color-primary);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: var(--shadow-glow);
}

.logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px var(--color-primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-vaporwave);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-download {
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-vaporwave);
    opacity: 0.1;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.glitch {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    text-shadow: 
        0.05em 0 0 var(--color-primary),
        -0.025em -0.05em 0 var(--color-secondary),
        0.025em 0.05em 0 var(--color-accent);
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

.tagline {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--color-accent);
    text-shadow: var(--shadow-glow-blue);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-vaporwave);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-muted);
    animation: bounce 2s infinite;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-secondary);
    margin: 10px auto 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: var(--gradient-vaporwave);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   FEATURE GRAPHIC SHOWCASE
   ========================================== */
.feature-graphic-showcase {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.feature-graphic-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 113, 206, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.feature-graphic-container {
    position: relative;
    z-index: 1;
}

.feature-graphic-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.feature-graphic-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-vaporwave);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-graphic-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.feature-graphic-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    border: 3px solid transparent;
    background: linear-gradient(var(--color-bg-medium), var(--color-bg-medium) padding-box,
                var(--gradient-vaporwave) border-box);
    box-shadow: 
        0 20px 60px rgba(255, 113, 206, 0.4),
        0 0 100px rgba(1, 205, 254, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    padding: 3px;
    animation: feature-glow 3s ease-in-out infinite;
}

@keyframes feature-glow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(255, 113, 206, 0.4),
            0 0 100px rgba(1, 205, 254, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(255, 113, 206, 0.6),
            0 0 120px rgba(1, 205, 254, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.feature-graphic-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(255, 113, 206, 0.7),
        0 0 140px rgba(1, 205, 254, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.feature-graphic-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 113, 206, 0.2);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 113, 206, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--color-text);
}

.highlight-item:hover {
    background: rgba(255, 113, 206, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 113, 206, 0.4);
    border-color: var(--color-accent);
}

.highlight-emoji {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-graphic-title {
        font-size: 2rem;
    }
    
    .feature-graphic-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-graphic-image {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .feature-graphic-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .feature-graphic-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .feature-graphic-highlights {
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .highlight-emoji {
        font-size: 1.2rem;
    }
}

/* ==========================================
   GAMEPLAY PREVIEW
   ========================================== */
.gameplay-preview {
    background: var(--color-bg-medium);
}

.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gameplay-item {
    text-align: center;
}

.gameplay-item .gameplay-video {
    max-width: 320px;
    margin: 0 auto;
    cursor: pointer;
}

.gameplay-placeholder {
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-bottom: 1.5rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gameplay-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.gameplay-video {
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gameplay-video:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.gameplay-video video {
    display: block;
    width: 100%;
    border-radius: 10px;
}

.gameplay-placeholder span {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.gameplay-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* ==========================================
   FEATURES HIGHLIGHT
   ========================================== */
.features-highlight {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--color-bg-medium);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================
   DOWNLOAD SECTION
   ========================================== */
.download-section {
    background: var(--color-bg-medium);
    text-align: center;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.platform-label {
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-badge-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.store-badge-link:hover {
    transform: translateY(-5px);
}

.store-badge-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 12px;
    padding: 1rem 2rem;
    min-width: 220px;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(1, 205, 254, 0.3);
    transition: all 0.3s ease;
}

.store-badge-link:hover .store-badge-container {
    border-color: var(--color-primary);
    box-shadow: 0 6px 25px rgba(255, 113, 206, 0.5);
}

.store-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-get {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.badge-store {
    font-size: 1.4rem;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
}

.badge-placeholder {
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
    border: 2px dashed var(--color-secondary);
    border-radius: 12px;
    padding: 1rem 2rem;
    min-width: 220px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    opacity: 0.7;
}

.badge-placeholder span {
    font-size: 2rem;
    display: block;
    margin: 0;
}

.badge-placeholder p {
    color: var(--color-text);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.coming-soon-text {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    font-weight: 500 !important;
}

.badge-placeholder span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.badge-placeholder p {
    color: var(--color-text-muted);
    margin: 0;
}

.alpha-notice {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.alpha-notice a {
    color: var(--color-accent);
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-bg-dark);
    border-top: 2px solid var(--color-primary);
    padding: 3rem 0 1rem;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--color-bg-medium);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(255, 113, 206, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-bg-light);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(1, 205, 254, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
    position: relative;
}

.btn-loader {
    display: inline-block;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: rgba(5, 255, 161, 0.1);
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.form-message.error {
    background: rgba(255, 113, 206, 0.1);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-text-muted);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-bg-light);
    color: var(--color-text-muted);
}

/* ==========================================
   FEATURES PAGE
   ========================================== */
.page-header {
    padding: 8rem 0 3rem;
    text-align: center;
    background: var(--color-bg-medium);
}

.page-header h1 {
    background: var(--gradient-vaporwave);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-detail {
    padding: 4rem 0;
}

.feature-detail.alt-bg {
    background: var(--color-bg-medium);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-text h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.feature-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.feature-note {
    background: var(--color-bg-light);
    padding: 1rem;
    border-left: 4px solid var(--color-secondary);
    border-radius: 5px;
    color: var(--color-text-muted);
    font-style: italic;
}

.media-placeholder {
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 3rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.media-placeholder span {
    font-size: 1.5rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

.media-screenshot,
.media-video {
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.media-screenshot:hover,
.media-video:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.media-screenshot img,
.media-video video {
    display: block;
    width: 100%;
    border-radius: 10px;
}

/* Rarity System */
.rarity-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.95em;
    margin-right: 6px;
    margin-bottom: 2px;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    border: 1.5px solid rgba(0,0,0,0.10);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s;
    z-index: 1;
}

/* Shine/gradient animation overlay for rarity badges */
.rarity-badge::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.38) 40%, rgba(255,255,255,0.10) 60%, rgba(255,255,255,0.18) 100%);
    opacity: 0.85;
    transform: translateX(-60%) skewX(-18deg);
    animation: rarity-shine 2.8s linear infinite;
}

@keyframes rarity-shine {
    0% {
        transform: translateX(-60%) skewX(-18deg);
        opacity: 0.7;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(120%) skewX(-18deg);
        opacity: 0.7;
    }
}

/* Subtle animated gradient background for each rarity (optional, can be tuned per rarity) */
.rarity-badge-basic {
    background: linear-gradient(90deg, #e0e0e0 0%, #f8f8f8 100%);
    color: #222;
}
.rarity-badge-common {
    background: linear-gradient(90deg, #b8e994 0%, #d4fc79 100%);
    color: #2d5c1a;
}
.rarity-badge-uncommon {
    background: linear-gradient(90deg, #6ec6ff 0%, #b2fefa 100%);
    color: #1a3a5c;
}
.rarity-badge-rare {
    background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
    color: #3d246c;
}
.rarity-badge-ultra-rare {
    background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%);
    color: #7a4a00;
}
.rarity-badge-epic {
    background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%);
    color: #7a4a00;
}
.rarity-badge-legendary {
    background: linear-gradient(90deg, #f953c6 0%, #b91d73 100%);
    color: #fff;
}
.rarity-badge-mythic {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    color: #fff;
}
.rarity-badge-cosmic {
    background: linear-gradient(90deg, #5f2c82 0%, #49a09d 100%);
    color: #fff;
}
.rarity-badge-unique {
    background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%);
    color: #fff;
}
.rarity-basic { background: #ff8fab; color: white; }
.rarity-common { background: #dee2ff; color: #1a1a2e; }
.rarity-uncommon { background: #80ed99; color: #1a1a2e; }
.rarity-rare { background: #48cae4; color: white; }
.rarity-ultra-rare { background: #ffd166; color: #1a1a2e; }
.rarity-epic { background: #f95738; color: white; }
.rarity-legendary { background: #ff0000; color: white; }
.rarity-mythic { background: #ff00ff; color: white; }
.rarity-cosmic { background: #000000; color: white; border: 2px solid #ff00ff; }
.rarity-unique { background: #ffffff; color: #1a1a2e; border: 2px solid #ff00ff; }

/* Music Genres */
.music-genres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.genre-card {
    background: var(--color-bg-medium);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--color-secondary);
}

.genre-card h3 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-bg-dark);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        border-top: 2px solid var(--color-primary);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .glitch {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .gameplay-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ==========================================
   MEDIA LIGHTBOX / MODAL
   ========================================== */
.media-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.media-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 113, 206, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
    box-shadow: 0 0 20px var(--color-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================
   INLINE GAME ICONS
   ========================================== */
.icon {
    display: inline-block;
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: 0.5rem;
    line-height: 1.2;
    height: auto;
    overflow: visible;
}

/* For actual image icons (not emojis) */
.icon img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.icon-small {
    width: 18px;
    height: 18px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.icon-medium {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.icon-large {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Feature icons in cards */
.feature-icon img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* ==========================================
   ENEMY SHOWCASE
   ========================================== */
.enemy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.enemy-card {
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.enemy-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 113, 206, 0.5);
    border-color: var(--color-accent);
}

.enemy-card img {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    margin: 0 auto 0.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.enemy-card h4 {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin: 0;
}

/* Animated Enemy Sprites */
.enemy-sprite {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    margin: 0 auto 0.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Bat Animation - 3 frames at 53x57 */
.enemy-sprite-bat {
    background: url('../assets/enemies/bat.png') 0% center;
    background-size: 300% 100%;
    animation: sprite-bat 0.3s steps(2) infinite;
}

@keyframes sprite-bat {
    to { background-position: 100% center; }
}

/* Vapor Skull Animation - 16 frames at 40x40 */
.enemy-sprite-vapor-skull {
    background: url('../assets/enemies/vapor_skull.png') 0% center;
    background-size: 1600% 100%;
    animation: sprite-vapor-skull 1.6s steps(15) infinite;
}

@keyframes sprite-vapor-skull {
    to { background-position: 100% center; }
}

/* Owl Animation - 8 frames at 64x58 */
.enemy-sprite-owl {
    background: url('../assets/enemies/owl.png') 0% center;
    background-size: 800% 100%;
    animation: sprite-owl 0.8s steps(7) infinite;
}

@keyframes sprite-owl {
    to { background-position: 100% center; }
}

/* Grim Reaper Animation - 6 frames at 64x64 */
.enemy-sprite-grim-reeper {
    background: url('../assets/enemies/grim_reeper.png') 0% center;
    background-size: 600% 100%;
    animation: sprite-grim-reeper 0.6s steps(5) infinite;
}

@keyframes sprite-grim-reeper {
    to { background-position: 100% center; }
}

/* Imp Animation - 4 frames at 53x48 (estimated) */
.enemy-sprite-imp {
    background: url('../assets/enemies/imp.png') 0% center;
    background-size: 400% 100%;
    animation: sprite-imp 0.4s steps(3) infinite;
}

@keyframes sprite-imp {
    to { background-position: 100% center; }
}

/* Bee Animation - 4 frames at 25x30 */
.enemy-sprite-bee {
    background: url('../assets/enemies/bee.png') 0% center;
    background-size: 400% 100%;
    animation: sprite-bee 0.4s steps(3) infinite;
}

@keyframes sprite-bee {
    to { background-position: 100% center; }
}

/* Eagle Animation - 4 frames at 40x41 */
.enemy-sprite-eagle {
    background: url('../assets/enemies/eagle.png') 0% center;
    background-size: 400% 100%;
    animation: sprite-eagle 0.4s steps(3) infinite;
}

@keyframes sprite-eagle {
    to { background-position: 100% center; }
}

/* Crow Animation - 5 frames at 48x48 */
.enemy-sprite-crow {
    background: url('../assets/enemies/crow.png') 0% center;
    background-size: 500% 100%;
    animation: sprite-crow 0.5s steps(4) infinite;
}

@keyframes sprite-crow {
    to { background-position: 100% center; }
}

/* Round Ghost Animation - 6 frames at 38x37 */
.enemy-sprite-round-ghost {
    background: url('../assets/enemies/round_ghost.png') 0% center;
    background-size: 600% 100%;
    animation: sprite-round-ghost 0.6s steps(5) infinite;
}

@keyframes sprite-round-ghost {
    to { background-position: 100% center; }
}

/* ==========================================
   LEVEL BACKGROUNDS PREVIEW
   ========================================== */
.level-preview {
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border: 3px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.level-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.level-preview-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* ==========================================
   EGG SHOWCASE
   ========================================== */
.egg-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.egg-display {
    text-align: center;
}

.egg-display img {
    width: 120px;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 8px 16px rgba(255, 113, 206, 0.5));
    transition: all 0.3s ease;
    cursor: pointer;
}

.egg-display img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 24px rgba(1, 205, 254, 0.8));
}

.egg-display h4 {
    color: var(--color-accent);
    margin-top: 1rem;
}

/* ==========================================
   GALLERY PAGE
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    text-align: center;
}

.gallery-item .media-screenshot,
.gallery-item .media-video {
    max-width: 320px;
    margin: 0 auto;
    cursor: pointer;
}

.gallery-item h3 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem;
}

.gallery-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================
   PORTRAIT MEDIA LAYOUT (for mobile screenshots/videos)
   ========================================== */
.portrait-feature-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.portrait-media {
    position: sticky;
    top: 100px;
}

.portrait-media .media-screenshot,
.portrait-media .media-video {
    max-width: 280px;
    margin: 0 auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.portrait-media .media-screenshot:hover,
.portrait-media .media-video:hover {
    opacity: 0.9;
}

.portrait-details {
    padding-top: 1rem;
}

@media (max-width: 1200px) {
    .portrait-feature-grid {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .portrait-media .media-screenshot,
    .portrait-media .media-video {
        max-width: 250px;
    }
}

@media (max-width: 968px) {
    .portrait-feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portrait-media {
        position: relative;
        top: auto;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .portrait-media .media-screenshot,
    .portrait-media .media-video {
        max-width: 100%;
    }
}

/* ==========================================
   PARTNERS PAGE STYLES
   ========================================== */

/* Partner Content Blocks */
.partner-block {
    background: rgba(26, 31, 58, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 113, 206, 0.2);
    margin-bottom: 1.5rem;
}

.partner-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.partner-block p:last-child {
    margin-bottom: 0;
}

/* Partner Cards Grid */
.partner-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.partner-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.partner-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.card-highlight {
    background: rgba(255, 113, 206, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
    margin-top: 1rem;
}

.card-highlight strong {
    color: var(--color-primary);
}

/* Stats Grid for Partners Page */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(1, 205, 254, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-item {
    background: rgba(5, 255, 161, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--color-accent);
    border: 1px solid rgba(5, 255, 161, 0.3);
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(5, 255, 161, 0.2);
    transform: translateY(-3px);
}

/* Checklist */
.checklist {
    margin-top: 1.5rem;
}

.checklist-item {
    background: rgba(26, 31, 58, 0.6);
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
    line-height: 1.6;
}

.checklist-item strong {
    color: var(--color-secondary);
}

/* Timeline Visual */
.timeline-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.timeline-step {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 140px;
    border: 2px solid var(--color-primary);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.step-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.timeline-arrow {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.requirement-card {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(1, 205, 254, 0.2);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-glow-blue);
}

.requirement-card h4 {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.requirement-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section for Partners */
.cta-section {
    margin-top: 3rem;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 113, 206, 0.1) 0%, rgba(1, 205, 254, 0.1) 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 2px solid var(--color-primary);
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-method {
    text-align: center;
}

.contact-method h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-method p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-divider {
    font-size: 1.5rem;
    color: var(--color-primary);
    padding: 0 1rem;
    align-self: center;
}

.note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Partner Form */
.partner-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid rgba(1, 205, 254, 0.3);
    background: rgba(26, 31, 58, 0.8);
    color: var(--color-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-glow-blue);
}

.partner-form select {
    cursor: pointer;
}

.partner-form textarea {
    resize: vertical;
    min-height: 100px;
}

.partner-form button {
    margin-top: 0.5rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* Additional Links */
.additional-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 113, 206, 0.3);
}

.link-button {
    background: rgba(26, 31, 58, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 2px solid rgba(1, 205, 254, 0.3);
    color: var(--color-text);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-button:hover {
    background: rgba(1, 205, 254, 0.1);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-box {
    background: rgba(26, 31, 58, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 113, 206, 0.2);
}

.detail-box h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* CTA Inline */
.cta-inline {
    margin-top: 1.5rem;
    text-align: center;
}

/* Responsive Adjustments for Partners Page */
@media (max-width: 968px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-divider {
        padding: 1rem 0;
    }
    
    .partner-cards {
        grid-template-columns: 1fr;
    }
    
    .timeline-visual {
        flex-direction: column;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .partner-block {
        padding: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}
