/* ============================================
   MINIMAL LANDING PAGE - PREMIUM DESIGN
   ============================================ */

:root {
    --primary-dark: #36125d;
    --accent-gold: #ffd700;
    --accent-brown: #713f3f;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   BACKGROUND ANIMATION
   ============================================ */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 249, 249, 0.98));
    pointer-events: none;
}

.floating-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.particle-1 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent);
    top: 5%;
    left: 10%;
    animation: float 20s ease-in-out infinite;
}

.particle-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(54, 18, 93, 0.05), transparent);
    top: 20%;
    right: 5%;
    animation: float 25s ease-in-out infinite;
    animation-delay: 2s;
}

.particle-3 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(113, 63, 63, 0.06), transparent);
    bottom: 10%;
    left: 15%;
    animation: float 22s ease-in-out infinite;
    animation-delay: 4s;
}

.particle-4 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05), transparent);
    bottom: 20%;
    right: 10%;
    animation: float 28s ease-in-out infinite;
    animation-delay: 1s;
}

.particle-5 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(54, 18, 93, 0.06), transparent);
    top: 50%;
    left: 50%;
    animation: float 24s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-60px) translateX(-20px);
    }
    75% {
        transform: translateY(-30px) translateX(30px);
    }
}

/* ============================================
   CONTAINER & MAIN LAYOUT
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-wrapper {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 25px rgba(54, 18, 93, 0.15));
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    line-height: 1.8;
}

/* ============================================
   PLATFORMS GRID
   ============================================ */

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 60px;
    width: 100%;
}

/* ============================================
   PLATFORM CARDS
   ============================================ */

.platform-card {
    position: relative;
    display: block;
    text-decoration: none;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.platform-card:hover {
    transform: translateY(-10px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    transition: var(--transition);
}

.platform-card:hover .card-bg {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 40px rgba(54, 18, 93, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    gap: 15px;
}

/* ============================================
   PLATFORM ICON
   ============================================ */

.platform-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-brown));
    border-radius: 50%;
    color: var(--accent-gold);
    margin-bottom: 5px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(54, 18, 93, 0.2);
}

.platform-icon svg {
    width: 45px;
    height: 45px;
    stroke-width: 0;
}

.platform-card:hover .platform-icon {
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    color: var(--primary-dark);
    transform: scale(1.15) rotateY(15deg);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}

/* ============================================
   PLATFORM NAME & DESCRIPTION
   ============================================ */

.platform-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 5px 0;
    transition: var(--transition);
}

.platform-card:hover .platform-name {
    color: var(--accent-gold);
}

.platform-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
    transition: var(--transition);
}

.platform-card:hover .platform-desc {
    color: var(--text-dark);
}

/* ============================================
   CONNECT BUTTON
   ============================================ */

.connect-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-brown));
    color: var(--accent-gold);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    box-shadow: 0 6px 15px rgba(54, 18, 93, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.connect-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.connect-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(54, 18, 93, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Animation Overrides */
.aos-animate {
    animation: var(--aos-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="flip-left"] {
    perspective: 1000px;
}

[data-aos="flip-left"].aos-animate {
    animation: flipInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes flipInLeft {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .platforms {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    main {
        min-height: auto;
        padding: 40px 0;
    }

    .hero {
        margin-bottom: 40px;
    }

    .logo {
        height: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .platforms {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
        margin-top: 40px;
    }

    .platform-card {
        height: 300px;
    }

    .card-content {
        padding: 25px 15px;
        gap: 12px;
    }

    .platform-icon {
        width: 70px;
        height: 70px;
    }

    .platform-icon svg {
        width: 40px;
        height: 40px;
    }

    .platform-name {
        font-size: 1.2rem;
    }

    .platform-desc {
        font-size: 0.8rem;
    }

    .connect-btn {
        padding: 9px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }

    .hero {
        margin-bottom: 30px;
    }

    .logo {
        height: 50px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .platforms {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .platform-card {
        height: 280px;
    }

    .card-content {
        padding: 20px 15px;
        gap: 10px;
    }

    .platform-icon {
        width: 65px;
        height: 65px;
    }

    .platform-icon svg {
        width: 35px;
        height: 35px;
    }

    .platform-name {
        font-size: 1.1rem;
    }

    .platform-desc {
        font-size: 0.75rem;
    }

    .connect-btn {
        padding: 8px 18px;
        font-size: 0.75rem;
    }

    /* Hide floating particles on mobile */
    .floating-particle {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-particle {
        animation: none;
    }
}

/* Focus states for keyboard navigation */
.platform-card:focus,
.connect-btn:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.platform-card:focus-visible,
.connect-btn:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Smooth scrolling support */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .platform-card:hover .card-bg {
        border-color: var(--accent-gold);
        background: rgba(255, 255, 255, 0.9);
    }

    .hero-title {
        font-weight: 900;
    }
}

/* Dark mode support (if user has dark mode preference) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0a0e27;
        color: #f0f0f0;
    }

    .background-animation {
        background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(15, 20, 45, 0.98));
    }

    .hero-title,
    .platform-name {
        color: var(--accent-gold);
    }

    .hero-subtitle,
    .hero-description,
    .platform-desc {
        color: #e0e0e0;
    }

    .card-bg {
        background: rgba(30, 35, 60, 0.6);
        border-color: rgba(255, 215, 0, 0.3);
    }

    .platform-card:hover .card-bg {
        background: rgba(40, 45, 70, 0.8);
        border-color: var(--accent-gold);
    }
}
