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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Premium Modal Styles */
.premium-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.premium-modal.show {
    opacity: 1;
}

.modal-content-new {
    margin: 5% auto;
    padding: 1.8rem 1.5rem;
    width: 85%;
    max-width: 750px;
    position: relative;
    color: white;
    text-align: center;
    background: #0a0a0a;
    border: 2px solid #404040;
    border-radius: 25px;
    background-image: url('bgpicpricing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    animation: floatAnimation 4s ease-in-out infinite;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: auto;
}

.close-modal:hover,
.close-modal:focus {
    color: #ccc;
    text-decoration: none;
}

/* Header Styles */
.premium-header {
    margin-bottom: 2rem;
}

.premium-header {
    text-align: center;
    margin-bottom: 2rem;
}

.premium-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    color: #f0f0f0;
    line-height: 1.2;
    display: block;
    text-align: center;
}

.premium-subtitle {
    font-size: 2.2rem;
    font-weight: 300;
    font-style: italic;
    margin: 0.3rem 0 0 0;
    color: #e0e0e0;
    opacity: 0.9;
    display: block;
    text-align: center;
}

/* Pricing Cards Container */
.pricing-cards-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
}

.pricing-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #404040;
    border-radius: 15px;
    padding: 0.7rem;
    width: 320px;
    height: auto;
    min-height: 170px;
    backdrop-filter: blur(5px);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, outline 0.15s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    pointer-events: auto;
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.95);
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 4px 15px rgba(0, 0, 0, 0.6);
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

/* Card Header */
.card-header-left {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-align: left;
}

.card-price-left {
    font-size: 2.8rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 0.3rem;
}

.card-title-left {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 0.2rem;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

/* Features List */
.card-features {
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    color: #f0f0f0;
}

.checkmark-circle {
    background: rgba(60, 60, 60, 0.8);
    border: 1px solid #606060;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0f0f0;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Get P*MIG Button */
.get-pmig-btn {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #606060;
    color: #f0f0f0;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    margin-top: 0.8rem;
    position: relative;
    z-index: 1;
}

.get-pmig-btn:hover {
    background: rgba(60, 60, 60, 0.9);
    border-color: #808080;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Text */
.premium-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #404040;
}

.premium-footer p {
    font-size: 0.95rem;
    color: #b0b0b0;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
    
    .premium-title {
        font-size: 2.5rem;
    }
    
    .premium-subtitle {
        font-size: 2rem;
    }
    
    .modal-content-new {
        margin: 1% auto;
        padding: 2rem 1rem;
    }
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo-image {
    width: 40px;
    height: 46px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
}

.title-line {
    display: block;
    margin: 0.2rem 0;
}

.muted {
    color: rgba(255, 255, 255, 0.6);
}

.bright {
    color: #ffffff;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.premium-modal.active .tier-card {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    animation: slideUpFromBottom 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.premium-modal.active .tier-card:nth-child(1) { animation-delay: 0.10s; }
.premium-modal.active .tier-card:nth-child(2) { animation-delay: 0.20s; }
.premium-modal.active .tier-card:nth-child(3) { animation-delay: 0.30s; }

/* Calculator Section */
.calculator {
    padding: 6rem 2rem;
    background: #000000;
}

.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Genre Tags */
.tags-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tags-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    min-height: 200px;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(5px);
}

.tag-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.tag-btn.active {
    background: #001F41;
    border-color: #003875;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 31, 65, 0.3);
}

/* Scope Selection */
.scope-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scope-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.scope-selection {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.scope-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.scope-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.scope-btn.active {
    background: #001F41;
    border-color: #003875;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 65, 0.3);
}

/* Calculate Button */
.get-pmig-btn {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.get-pmig-btn:hover {
    background: #333333;
    border-color: #333333;
}

.get-pmig-btn:active {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Results Modal */
.results-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.results-modal.active {
    display: flex;
}

.results-content {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.price-display {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2rem 0;
}

.get-premium-btn {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem;
}

.get-premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@keyframes slideUpFromBottom {
    from { transform: translateY(60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* Games Showcase Styles */
.games-showcase {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    text-align: center;
}

.game-cards {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.game-card {
    width: 80px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::after {
    opacity: 1;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    /* Removed the Google Drive background image that was causing the white grid effect */
}

/* Banner Sections */
/* Hero: header.png behind the title over black bg */
.hero {
    position: relative;
    background-color: #000; /* ensure black bg stays */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('header.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover; /* fill width, maintain aspect */
    opacity: 0.40; /* let black bg dominate */
    pointer-events: none;
}

.hero-title-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Shake animation for disabled scope buttons */
@keyframes shake-no {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.scope-btn-shake {
    animation: shake-no 0.3s ease-in-out;
}

/* Scope button styles */
.scope-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.8);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.scope-btn.active {
    background: white;
    color: black;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.scope-btn:disabled {
    background: rgba(40, 40, 40, 0.3);
    color: rgba(255, 255, 255, 0.3);
    border-color: rgba(100, 100, 100, 0.3);
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: auto;
}

.scope-btn:not(:disabled):hover {
    transform: translateY(-2px);
    background: rgba(192, 192, 192, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

/* New headline styles (text-based, two font variants, no drop shadows) */
.hero-title {
    display: grid;
    gap: 10px;
}

.title-line {
    display: block;
}

.headline-word {
    font-family: 'Oswald', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 5rem);
    letter-spacing: 0.02em;
}

.headline-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
}

.italic { font-style: italic; }

/* Color theme: accent words */
.accent { color: #d0d7ff; }
.highlight { color: #ffffff; }
.accent-2 { color: #b8c7ff; }

/* Subtle fluid entrance animation (no drop shadow) */
.hero-title .title-line { opacity: 0; transform: translateY(10px); }
.hero .hero-content { overflow: hidden; }
.hero .hero-content .title-line { animation: headlineFadeUp 700ms ease forwards; }
.hero .hero-content .title-line:nth-child(2) { animation-delay: 120ms; }

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

/* How P*MIG Calculates: Background image removed for clean black background */
#how-calculates {
    position: relative;
    background-color: #000; /* black base */
    overflow: hidden;
}

/* Background image removed - plain black background now */

/* Removed the grid background pattern that was causing the white grid */

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

/* Header - CRED Style */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.86); /* lowered opacity by ~12% */
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Logo - CRED Style */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 97px; /* +35% from 72px */
    height: 113px; /* +35% from 84px */
    object-fit: contain;
    filter: none; /* remove brightness/contrast tricks */
    transition: transform 0.3s ease-in-out; /* Keep transition for floating effect */
}

/* Navigation - CRED Style */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.tag-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(192, 192, 192, 0.5);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    margin: 0.3rem;
}


.tag-btn.active {
    background: #001F41 !important;
    color: white !important;
    border: 2px solid rgba(192, 192, 192, 0.8) !important;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4) !important;
}

.tag-btn:hover {
    border-color: rgba(192, 192, 192, 0.8);
    box-shadow: 0 2px 10px rgba(192, 192, 192, 0.2);
}

.premium-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.login-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section - CRED Style */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
    position: relative;
    background: #000000;
    margin-bottom: -1px; /* Eliminate gap between sections */
    transform: none !important; /* Prevent any transform that might cause gaps */
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 30px;
    will-change: transform;
    transform: translateY(0);
}

.title-line {
    display: block;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Hero heading color variants */
.muted { color: #2a2a2a; }
.bright { color: #ffffff; }

.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.4s; }
.title-line:nth-child(4) { animation-delay: 0.6s; }

.title-line.highlight {
    font-weight: 600;
    color: #ffffff;
    position: relative;
}

.title-line.highlight::after { display: none; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    to {
        width: 100px;
    }
}

/* Calculator Section - CRED Style */
.calculator-section {
    transform: none !important; /* Prevent any transform that might cause gaps */
    padding: 100px 20px;
    position: relative;
    background: #000000; /* Changed to match hero background */
    margin-top: 0; /* Ensure no gap with hero section */
    border-top: none; /* Remove any potential border */
}

/* Background image removed - plain black background now */

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 60px 50px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    will-change: transform;
    transform: translateY(0);
    animation: float 4.335s ease-in-out infinite;
}

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

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-radius: 16px;
    pointer-events: none;
}

/* Steam Logo Sticker - CRED Style */
.steam-logo-sticker {
    position: absolute;
    top: -25px;
    left: 50px;
    background: #ffffff;
    color: #000000;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;

    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.steam-logo-sticker:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.15);
}

/* Game Type Selection - CRED Style */
.game-type-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.type-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.type-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Removed ::before pseudo-element to prevent interference */

.type-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.type-btn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

/* Calculator Grid - CRED Style */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: rgba(255, 255, 255, 1);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ffffff;
    cursor: pointer;
}

.input-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.input-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.input-field:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Adjustments Section - CRED Style */
.adjustments-section {
    margin-bottom: 50px;
    text-align: center;
}

.adjustments-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.adjustment-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.checkbox-option:hover {
    color: #ffffff;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-option input[type="checkbox"]:checked + .checkmark {
    background: #ffffff;
    border-color: #ffffff;
}

.checkbox-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-size: 12px;
    font-weight: bold;
}

/* Tags Section - CRED Style */
.tags-section {
    margin-bottom: 50px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tags-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    letter-spacing: 0.5px;
}

.tags-grid {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
}

.tag-btn {
    background: transparent;
    color: #bfc4c9;
    border: 2px solid rgba(255, 255, 255, 0.28);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    pointer-events: auto !important;
    z-index: 10;
}

.tag-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tag-btn.active:hover {
    background: #001F41 !important;
}

.tag-btn.active {
    background: #001F41 !important;
    color: #ffffff !important;
    border: 1px solid #c0c0c0 !important;
    font-weight: 600 !important;
}

/* Scope Section - CRED Style */
.scope-section {
    margin-bottom: 50px;
    text-align: center;
}

.scope-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.scope-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
    margin: 20px 0;
}

.scope-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    text-align: center;
    min-width: 180px;
}

.scope-btn.active {
    background: white;
    border-color: #ffffff;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.scope-btn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Calculate Button - CRED Style */
.calculate-section {
    text-align: center;
}

.calculate-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Simple Results Modal Styles */
.results-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.results-modal.active {
    opacity: 1;
}

.results-content {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 960px; /* Increased by 60% from 600px */
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.results-modal.active .results-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.results-header {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 14px;
}

/* Price A Main Section */
.price-a-main {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Games Showcase */
.games-showcase {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-align: center;
}

.game-images {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.game-image-box {
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px;
}

.game-image-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.game-artwork-box img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 12px;
}

.game-info {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    text-align: center;
}

.game-name {
    font-size: 11px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-price {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.game-image-box.loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Secondary Price Group */
.price-group-secondary {
    margin-top: 1rem;
    padding-top: 0;
    border-top: none;
}

.price-list {
    display: grid;
    gap: 10px;
}

.price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.price-item .label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.price-item .value {
    font-weight: 600;
    font-size: 16px;
}

.results-actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.results-close {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* How P*MIG Calculates Section - CRED Style */
.how-calculates {
    padding: 120px 20px;
    background: #000000;
}

.how-calculates h2 {
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 80px;
    color: #ffffff;
    letter-spacing: -1px;
}

.calculation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-radius: 16px;
    pointer-events: none;
}

.step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.step-number {
    background: #ffffff;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Pricing Section - CRED Style */
.pricing-section {
    padding: 120px 20px;
    background: #0a0a0a;
}

.pricing-section h2 {
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 80px;
    color: #ffffff;
    letter-spacing: -1px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-radius: 16px;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    border: 1px solid #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.card-header h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.price {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.one-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.card-features ul {
    list-style: none;
    margin-bottom: 35px;
}

.card-features li {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.card-btn:hover::before {
    left: 100%;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Footer - CRED Style */
.footer {
    background: #000000;
    padding: 80px 20px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-image {
    width: 80px;
    height: 93px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.faq-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.faq-list {
    list-style: none;
}

.faq-list li {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.faq-list li:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .adjustment-options {
        flex-direction: column;
        align-items: center;
    }
    
    .tiers-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 2rem;
        width: 100%;
        margin: 2rem 0 0 0;
        padding: 0;
    }
    
    .hero-title {
        align-items: center;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-container {
        padding: 15px;
    }
}
    
    .type-selection {
        flex-direction: column;
        gap: 10px;
    }
    
    .type-btn {
        width: 100%;
    }
    
    .scope-selection {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .scope-btn {
        width: 100%;
    }
    
    .tags-grid {
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .tag-btn {
        position: static;
        margin: 0;
        transform: none !important;
        flex: 0 0 auto;
    }
}