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

:root {
    --bg-outer: #1a0f1e;
    --bg-card: #2a1a2e;
    --button-bg: rgba(58, 35, 50, 0.7);
    --button-bg-hover: rgba(70, 42, 60, 0.8);
    --button-border: rgba(139, 90, 90, 0.4);
    --gold: #c9a227;
    --gold-light: #e8c252;
    --gold-dark: #8b6914;
    --text-primary: #f5f5f5;
    --text-secondary: #9a8a9a;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-outer);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem 0;
}

.container {
    max-width: 560px;
    width: 100%;
    background: linear-gradient(180deg, #3d2035 0%, #2a1525 30%, #1a0f1e 100%);
    border-radius: 24px 24px 0 0;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.4);
    min-height: calc(100vh - 2.5rem);
    position: relative;
}

.share-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.share-button svg {
    width: 18px;
    height: 18px;
}

.share-button:hover {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.share-button.copied {
    background: rgba(201, 162, 39, 0.3);
    color: var(--gold);
    border-color: var(--gold-dark);
}

.logo {
    margin-bottom: 0.75rem;
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.25), 0 0 60px rgba(201, 162, 39, 0.1);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(201, 162, 39, 0.25), 0 0 60px rgba(201, 162, 39, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(201, 162, 39, 0.35), 0 0 70px rgba(201, 162, 39, 0.15);
    }
}

.title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.game-tagline {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.subtitle {
    font-size: 0.875rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0;
}

.subtitle-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subtitle-link:hover {
    color: var(--gold);
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0.75rem;
}

.tagline-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tagline-link:hover {
    color: var(--gold);
}

.location-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 200px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

.divider-chevron {
    font-size: 1rem;
    color: var(--text-secondary);
}

.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--button-bg);
    border: 1px solid var(--button-border);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.link-button:hover {
    background: var(--button-bg-hover);
    border-color: var(--gold);
}

.link-button:hover .link-text {
    color: var(--gold);
}

.link-button:active {
    transform: translateY(0);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--gold-dark);
    margin-right: 1rem;
    flex-shrink: 0;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gold);
    stroke-width: 2;
}

.link-text {
    flex: 1;
    transition: color 0.2s ease;
}

.link-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    margin-left: auto;
}

.footer {
    margin-top: auto;
    padding-top: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 120px;
}

.footer-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-secondary), transparent);
    opacity: 0.3;
}

.footer-divider-chevron {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 0.875rem;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-link {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--gold);
}

/* Tablet and larger */
@media (min-width: 768px) {
    body {
        padding: 2.5rem 2rem 0;
    }

    .container {
        padding: 3rem 2.5rem;
    }

    .logo img {
        width: 140px;
        height: 140px;
    }

    .title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .link-button {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .icon {
        width: 22px;
        height: 22px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    body {
        padding: 2.5rem 2rem 0;
    }

    .container {
        padding: 3.5rem 3rem;
    }

    .logo img {
        width: 150px;
        height: 150px;
    }

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

/* Mobile - full bleed card */
@media (max-width: 767px) {
    body {
        padding: 0;
    }

    .container {
        border-radius: 0;
        min-height: 100vh;
    }
}

/* High contrast / accessibility */
@media (prefers-reduced-motion: reduce) {
    .link-button {
        transition: none;
    }
}
