/* gamelicen.se - Frutiger Aero Glossy Tech */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #3A4A40;
    background: linear-gradient(180deg, #B8D4E8 0%, #E8F0F8 30%, #D0E0D4 70%, #A8C8A8 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

.section {
    width: 100%;
    position: relative;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #2C4A3E;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 2rem;
}

/* ========== AERO HERO ========== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* CSS Game Controller */
.controller-icon {
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: bounceIn 400ms ease forwards;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(30px); }
    60% { opacity: 1; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.controller-body {
    width: 120px;
    height: 64px;
    background: linear-gradient(180deg, #8AB8D8, #5A8AAA);
    border-radius: 32px;
    position: relative;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumbstick {
    width: 24px;
    height: 24px;
    background: linear-gradient(180deg, #D0E0E8, #A0B8C8);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.thumbstick-left {
    left: 22px;
}

.thumbstick-right {
    right: 22px;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #2C4A3E;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeIn 300ms ease 300ms forwards;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #3A4A40;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeIn 300ms ease 500ms forwards;
}

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

/* ========== LICENSE CARD GRID ========== */

.licenses-section {
    padding: 4rem 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glass-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 1.75rem;
    opacity: 0;
    transform: translateY(16px);
    transition: transform 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease;
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 15%;
    width: 70%;
    height: 50%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50% 50% 40% 40%;
}

.icon-blue {
    background: linear-gradient(180deg, #6AADE0, #4A90D0);
}

.icon-green {
    background: linear-gradient(180deg, #7CC87C, #5BA85B);
}

.icon-orange {
    background: linear-gradient(180deg, #E0A050, #D08840);
}

.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: #2C4A3E;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3A4A40;
}

/* ========== FEATURE SHOWCASE ========== */

.features-section {
    padding: 4rem 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.feature-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-icon.icon-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.feature-icon.icon-large::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 15%;
    width: 70%;
    height: 50%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50% 50% 40% 40%;
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2C4A3E;
    margin-bottom: 0.3rem;
}

.feature-desc {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3A4A40;
}

/* ========== GLOSSY BUTTON SECTION ========== */

.cta-section {
    padding: 4rem 0;
    text-align: center;
    min-height: auto;
}

.glossy-button {
    display: inline-block;
    background: linear-gradient(180deg, #5BA85B, #3A7A3A);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 16px 48px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 400ms ease;
}

.glossy-button.visible {
    opacity: 1;
}

.glossy-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 50%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px 12px 40% 40%;
}

.button-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

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

.footer {
    background: linear-gradient(180deg, #D0E0D4, #A8C8A8);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #2C4A3E;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
    }
}
