/* Custom Font */
@font-face {
    font-family: 'American Captain';
    src: url('American Captain.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

:root {
    --primary-purple: #4a42b0;
    --secondary-purple: #5d52d9;
    --accent-purple: #7b6ef0;
    --glow-purple: #5d52d9;
    --dark-blue: #020408;
    --medium-blue: #050a14;
    --light-blue: #0a1225;
    --accent-blue: #1a2a4a;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.75);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    background-color: #0a3d7c;
    background-image: url('MEDIA/BACKGROUND_V3.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 768px) {
    body {
        background-size: cover;
        background-attachment: fixed;
    }
}

/* PC Version */
@media (min-width: 769px) {
    .features {
        margin-top: 80px;
    }
}

/* Animated Background */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(2, 4, 8, 0.3) 0%, rgba(2, 4, 8, 0.5) 50%, rgba(2, 4, 8, 0.85) 100%);
}

.bg-pattern {
    display: none;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(20, 50, 100, 0.5) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(-30px, -20px) rotate(3deg); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
    padding: 30px 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 116px;
    padding-top: 15px;
}

.header-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 0px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(93, 82, 217, 0.1), rgba(93, 82, 217, 0.03));
    border: 1px solid rgba(123, 110, 240, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(93, 82, 217, 0.1);
}

.main-title {
    line-height: 1;
    margin-bottom: 15px;
}

.title-line-1 {
    display: block;
    font-family: 'American Captain', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    letter-spacing: 3px;
    color: #5d52d9;
    text-shadow: none;
    filter: drop-shadow(0 0 15px rgba(93, 82, 217, 0.4)) drop-shadow(0 0 30px rgba(93, 82, 217, 0.25));
}

.title-line-2 {
    display: block;
    font-family: 'American Captain', sans-serif;
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--text-white);
    margin-top: 5px;
    letter-spacing: 3px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.tagline {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Feature Cards */
.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(30, 30, 36, 0.85) 0%, rgba(30, 30, 36, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(90, 80, 209, 0.5);
    border-radius: 50px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(90, 80, 209, 0.15), inset 0 0 15px rgba(90, 80, 209, 0.05);
}

.feature-card::before {
    display: none;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(90, 80, 209, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(90, 80, 209, 0.25);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.feature-content {
    text-align: left;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.feature-title .highlight {
    color: var(--accent-purple);
    font-weight: 800;
}

.feature-subtitle {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Platforms Section */
.platforms {
    margin-bottom: 10px;
}

.platforms-card {
    background: linear-gradient(135deg, rgba(30, 30, 36, 0.9) 0%, rgba(30, 30, 36, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.platforms-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(93, 82, 217, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.platforms-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.platforms-icon {
    margin: 0 auto 20px;
    max-width: 280px;
}

.platforms-icon img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.platforms-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.platforms-text span {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    margin-top: 5px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: auto;
    padding-top: 0px;
}

.cta-title {
    font-family: 'American Captain', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--text-white);
    margin-bottom: 20px;
    font-style: normal;
    letter-spacing: 1px;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, #594ed2 0%, #31218a 100%);
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 18px 50px;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 30px rgba(93, 82, 217, 0.35),
        0 0 40px rgba(93, 82, 217, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-20deg);
    animation: lightSweep 3s ease-in-out infinite;
}

@keyframes lightSweep {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

.btn-apply:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(93, 82, 217, 0.45),
        0 0 50px rgba(93, 82, 217, 0.25),
        0 0 0 4px rgba(123, 110, 240, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-apply:active {
    transform: translateY(-1px) scale(1);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-apply:hover .btn-icon {
    transform: translateX(5px);
}

.cta-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    position: relative;
    display: block;
}


/* Footer */
.footer {
    margin-top: 30px;
    text-align: center;
}

.footer-decoration {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(93, 82, 217, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px 30px;
    }

    .title-line-1 {
        font-size: 3.2rem;
    }

    .title-line-2 {
        font-size: 1.6rem;
    }

    .feature-card {
        padding: 8px 20px;
        gap: 10px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-subtitle {
        font-size: 0.75rem;
    }

    .btn-apply {
        padding: 15px 40px;
        font-size: 1.1rem;
    }

    .platforms-icon {
        max-width: 240px;
    }
}

/* Smooth Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeInUp 0.8s ease forwards;
}

.features {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.platforms {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.cta-section {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}
