/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;700&display=swap');

/* Variables */
:root {
    --bg-color: #000000;
    --card-bg: rgba(28, 28, 30, 0.95);
    --card-border: rgba(255, 255, 255, 0.07);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --primary-button: #ffffff;
    --primary-hover: #f8f8f8;
    --primary-active: #efefef;
    --secondary-button: rgba(255, 255, 255, 0.1);
    --secondary-hover: rgba(255, 255, 255, 0.15);
    --secondary-active: rgba(255, 255, 255, 0.08);
    --accent-glow: rgba(120, 119, 198, 0.1);
}

/* Add at the top of your CSS, after imports */
@property --grain-value {
    syntax: '<number>';
    initial-value: 0;
    inherits: false;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    color: var(--text);
}

/* Container */
.container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Light Mode */
@media (prefers-color-scheme: light) {
    :root {
        --text: #000000;
        --text-secondary: rgba(0, 0, 0, 0.7);
    }

    body {
        background-image: linear-gradient(to top, lightgrey 0%, lightgrey 1%, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
    }

    .container {
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.06),
            0 0 0 1px rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .title {
        color: var(--text);
    }

    .subtitle {
        color: var(--text-secondary);
    }

    .btn:last-child {
        background: rgba(0, 0, 0, 0.05);
        color: #000000;
        border-color: rgba(0, 0, 0, 0.1);
    }

    .btn:last-child:hover {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.15);
    }
}

/* Typography */
.title {
    font-size: 2.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.1;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    left: -1rem;
    top: -1rem;
    width: 80px;
    height: 80px;
    background: radial-gradient(
        circle at 50% 50%,
        var(--accent-glow),
        transparent 70%
    );
    opacity: 0.6;
    z-index: -1;
}

.subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Button Container */
.button-container {
    display: flex;
    gap: 1rem;
    position: relative;
    justify-content: center;
}

/* Primary Button */
.btn:first-child {
    background: #ffffff;
    color: #000000;
    padding: 16px 24px;
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    min-width: 160px;
    flex: 0 1 auto;
    transition: all 0.2s ease;
    border: none;
}

.btn:first-child:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Secondary Button */
.btn:last-child {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 160px;
    flex: 0 1 auto;
    transition: all 0.2s ease;
}

.btn:last-child:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Base Button Styles */
.btn {
    font-family: 'DM Sans', sans-serif;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: -0.01em;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(0);
    opacity: 0.9;
}

/* Light Mode Button Styles */
@media (prefers-color-scheme: light) {
    .btn:first-child {
        background: #000000;
        color: #ffffff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .btn:first-child:hover {
        background: #1a1a1a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .btn:last-child {
        background: transparent;
        color: #000000;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }

    .btn:last-child:hover {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.3);
    }
}

/* Media Queries */
@media (max-width: 480px) {
    .container {
        padding: 2rem;
        border-radius: 20px;
    }

    .button-container {
        flex-direction: column;
        align-items: stretch;
    }

    .title {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }
} 