/* Fonts */
@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    color: #ffffff;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.centered-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-title {
    font-size: 5.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.wallet-button {
    padding: 1.25rem 3rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    border: none;
    border-radius: 1.125rem;
    font-weight: 500;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'SF Pro Display', sans-serif;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
    animation: fadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    text-decoration: none;
    display: inline-block;
}

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

.wallet-button:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.wallet-button:hover::before {
    left: 100%;
}

.wallet-button:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .centered-content {
        gap: 3rem;
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
    }

    .main-title {
        font-size: 2.5rem;
        letter-spacing: -0.02em;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        padding: 0 0.5rem;
    }

    .wallet-button {
        padding: 1.125rem 2.5rem;
        font-size: 1rem;
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 0.5rem;
    }

    .centered-content {
        gap: 2.5rem;
        padding: 1.5rem 0.75rem;
        width: 100%;
        max-width: 100%;
    }

    .main-title {
        font-size: 1.75rem;
        letter-spacing: -0.015em;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        padding: 0 0.25rem;
    }

    .wallet-button {
        padding: 1.125rem 2rem;
        font-size: 1rem;
        border-radius: 1.125rem;
        width: 100%;
        max-width: 280px;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
        letter-spacing: -0.01em;
    }
}

@media (max-width: 375px) {
    .main-title {
        font-size: 1.375rem;
        letter-spacing: -0.005em;
    }

    .wallet-button {
        padding: 1rem 1.75rem;
        font-size: 0.9375rem;
    }
}
