/* BorealPineCircle - Premium Social Gaming Platform Styles */

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

:root {
    /* Base Colors - Boreal Night */
    --bpc-bg: #07110F;
    --bpc-panel: #0B1A17;
    --bpc-card: #0F231F;

    /* Text Colors */
    --bpc-text-primary: #F2F7F6;
    --bpc-text-secondary: #B2C7C3;

    /* Pine Accents */
    --bpc-pine: #2E6B57;
    --bpc-moss: #4F7D54;

    /* Circle Glow - Warm */
    --bpc-amber: #F2B35D;
    --bpc-copper: #D27A46;

    /* Frost Accent - Cold */
    --bpc-ice: #66D7E5;

    /* Border */
    --bpc-border: rgba(255, 255, 255, 0.10);

    /* Font Families */
    --bpc-heading: 'DM Sans', sans-serif;
    --bpc-body: 'Raleway', sans-serif;

    /* Spacing */
    --bpc-spacing-xs: 8px;
    --bpc-spacing-sm: 16px;
    --bpc-spacing-md: 24px;
    --bpc-spacing-lg: 32px;
    --bpc-spacing-xl: 64px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bpc-body);
    background-color: var(--bpc-bg);
    color: var(--bpc-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.bpc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--bpc-spacing-md);
}

/* Header */
.bpc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(7, 17, 15, 0.95) 0%, rgba(7, 17, 15, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bpc-border);
    transition: all 0.3s ease;
}

.bpc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--bpc-spacing-sm) 0;
}

.bpc-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.bpc-logo:hover {
    transform: scale(1.02);
}

.bpc-logo-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.bpc-logo-text {
    font-family: var(--bpc-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--bpc-text-primary);
    letter-spacing: -0.5px;
}

.bpc-nav {
    display: flex;
    align-items: center;
    gap: var(--bpc-spacing-md);
}

.bpc-nav-link {
    font-family: var(--bpc-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--bpc-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.bpc-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bpc-amber), var(--bpc-ice));
    transition: width 0.3s ease;
}

.bpc-nav-link:hover,
.bpc-nav-link.active {
    color: var(--bpc-text-primary);
}

.bpc-nav-link:hover::after,
.bpc-nav-link.active::after {
    width: 100%;
}

.bpc-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.bpc-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--bpc-text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.bpc-btn {
    font-family: var(--bpc-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bpc-btn-primary {
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-copper));
    color: var(--bpc-bg);
    box-shadow: 0 4px 15px rgba(242, 179, 93, 0.3);
}

.bpc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 179, 93, 0.4);
}

.bpc-btn-secondary {
    background: transparent;
    color: var(--bpc-text-primary);
    border: 1px solid var(--bpc-border);
}

.bpc-btn-secondary:hover {
    background: var(--bpc-panel);
    border-color: var(--bpc-ice);
}

.bpc-btn-glow {
    position: relative;
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-copper));
    color: var(--bpc-bg);
    text-decoration: none;
    border-radius: 10px;
    overflow: visible;
    z-index: 1;
    box-shadow:
        0 0 20px rgba(242, 179, 93, 0.5),
        0 0 40px rgba(242, 179, 93, 0.3),
        0 0 60px rgba(242, 179, 93, 0.1);
    animation: bpc-glow-pulse 2s ease-in-out infinite;
}

.bpc-btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-copper), var(--bpc-ice), var(--bpc-amber));
    background-size: 300% 300%;
    border-radius: 10px;
    z-index: -1;
    animation: bpc-gradient-flow 4s ease infinite;
    filter: blur(8px);
    opacity: 0.7;
}

.bpc-btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-copper));
    border-radius: 8px;
    z-index: -1;
}

.bpc-btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 30px rgba(242, 179, 93, 0.7),
        0 0 60px rgba(242, 179, 93, 0.5),
        0 0 90px rgba(242, 179, 93, 0.2);
}

@keyframes bpc-glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(242, 179, 93, 0.5),
            0 0 40px rgba(242, 179, 93, 0.3),
            0 0 60px rgba(242, 179, 93, 0.1);
    }
    50% {
        box-shadow:
            0 0 25px rgba(242, 179, 93, 0.6),
            0 0 50px rgba(242, 179, 93, 0.4),
            0 0 75px rgba(242, 179, 93, 0.15);
    }
}

@keyframes bpc-gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bpc-btn-game {
    background: linear-gradient(135deg, var(--bpc-ice), #4FB9C9);
    color: var(--bpc-bg);
}

.bpc-btn-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 215, 229, 0.4);
}

.bpc-btn-cta {
    font-size: 16px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-copper));
    color: var(--bpc-bg);
    box-shadow: 0 6px 25px rgba(242, 179, 93, 0.4);
}

.bpc-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 179, 93, 0.5);
}

/* Hero Section */
.bpc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(700px 420px at 35% 25%, rgba(242, 179, 93, 0.18), transparent 60%),
                radial-gradient(700px 420px at 75% 30%, rgba(102, 215, 229, 0.14), transparent 60%),
                linear-gradient(180deg, #07110F 0%, #06100E 100%);
    overflow: hidden;
}

.bpc-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

.bpc-hero-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(7, 17, 15, 0.9), transparent);
    pointer-events: none;
}

.bpc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.bpc-hero-title {
    font-family: var(--bpc-heading);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-md);
    line-height: 1.1;
    letter-spacing: -1px;
}

.bpc-hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--bpc-text-secondary);
    margin-bottom: var(--bpc-spacing-lg);
    max-width: 550px;
}

.bpc-hero-actions {
    display: flex;
    gap: var(--bpc-spacing-sm);
    flex-wrap: wrap;
}

/* Stats Section */
.bpc-stats {
    padding: var(--bpc-spacing-xl) 0;
    background: var(--bpc-panel);
    border-top: 1px solid var(--bpc-border);
    border-bottom: 1px solid var(--bpc-border);
}

.bpc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--bpc-spacing-lg);
}

.bpc-stat-item {
    text-align: center;
    padding: var(--bpc-spacing-md);
    border-radius: 12px;
    background: var(--bpc-card);
    border: 1px solid var(--bpc-border);
    transition: all 0.3s ease;
}

.bpc-stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--bpc-amber);
    box-shadow: 0 10px 30px rgba(242, 179, 93, 0.1);
}

.bpc-stat-number {
    font-family: var(--bpc-heading);
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-ice));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.bpc-stat-label {
    font-size: 14px;
    color: var(--bpc-text-secondary);
}

/* About Section */
.bpc-about {
    padding: var(--bpc-spacing-xl) 0;
}

.bpc-section-header {
    margin-bottom: var(--bpc-spacing-lg);
}

.bpc-section-title {
    font-family: var(--bpc-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--bpc-amber), var(--bpc-ice));
    border-radius: 2px;
}

.bpc-about-text {
    font-size: 16px;
    color: var(--bpc-text-secondary);
    max-width: 800px;
    line-height: 1.8;
}

/* Games Section */
.bpc-games {
    padding: var(--bpc-spacing-xl) 0;
    background: var(--bpc-panel);
}

.bpc-games-grid {
    display: grid;
    gap: var(--bpc-spacing-lg);
}

.bpc-game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bpc-spacing-lg);
    padding: var(--bpc-spacing-lg);
    background: var(--bpc-card);
    border: 1px solid var(--bpc-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.bpc-game-card:hover {
    border-color: var(--bpc-ice);
    box-shadow: 0 20px 40px rgba(102, 215, 229, 0.1);
}

.bpc-game-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bpc-panel);
    border-radius: 12px;
    aspect-ratio: 16/10;
}

.bpc-game-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpc-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.bpc-game-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bpc-game-title {
    font-family: var(--bpc-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-game-desc {
    font-size: 15px;
    color: var(--bpc-text-secondary);
    margin-bottom: var(--bpc-spacing-md);
    line-height: 1.7;
}

/* Features Section */
.bpc-features {
    padding: var(--bpc-spacing-xl) 0;
}

.bpc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--bpc-spacing-md);
}

.bpc-feature-card {
    padding: var(--bpc-spacing-lg);
    background: var(--bpc-card);
    border: 1px solid var(--bpc-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bpc-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--bpc-pine);
    box-shadow: 0 15px 35px rgba(46, 107, 87, 0.15);
}

.bpc-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 215, 229, 0.1);
    border-radius: 12px;
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-feature-title {
    font-family: var(--bpc-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-feature-text {
    font-size: 14px;
    color: var(--bpc-text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.bpc-cta {
    padding: var(--bpc-spacing-xl) 0;
    background: var(--bpc-panel);
    text-align: center;
}

.bpc-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.bpc-cta-title {
    font-family: var(--bpc-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-cta-text {
    font-size: 16px;
    color: var(--bpc-text-secondary);
    margin-bottom: var(--bpc-spacing-lg);
}

/* Footer */
.bpc-footer {
    padding: var(--bpc-spacing-lg) 0 var(--bpc-spacing-md);
    background: var(--bpc-panel);
    border-top: 1px solid var(--bpc-border);
}

.bpc-footer-disclaimer {
    padding: var(--bpc-spacing-md);
    background: rgba(210, 122, 70, 0.1);
    border: 1px solid rgba(242, 179, 93, 0.2);
    border-radius: 12px;
    margin-bottom: var(--bpc-spacing-lg);
}

.bpc-age-warning {
    font-family: var(--bpc-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--bpc-amber);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-disclaimer-text {
    font-size: 13px;
    color: var(--bpc-text-secondary);
    line-height: 1.6;
}

.bpc-footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--bpc-spacing-lg);
    margin-bottom: var(--bpc-spacing-lg);
}

.bpc-footer-title {
    font-family: var(--bpc-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bpc-footer-list {
    list-style: none;
}

.bpc-footer-list li {
    margin-bottom: 8px;
}

.bpc-footer-list a {
    font-size: 14px;
    color: var(--bpc-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bpc-footer-list a:hover {
    color: var(--bpc-ice);
}

.bpc-footer-gaming {
    padding: var(--bpc-spacing-md);
    background: var(--bpc-card);
    border-radius: 12px;
    margin-bottom: var(--bpc-spacing-md);
}

.bpc-gaming-title {
    font-family: var(--bpc-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--bpc-text-primary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-gaming-text {
    font-size: 13px;
    color: var(--bpc-text-secondary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-gaming-links {
    display: flex;
    gap: var(--bpc-spacing-md);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.bpc-gaming-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    width: 140px;
    height: 60px;
}

.bpc-gaming-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.bpc-gaming-links img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.bpc-footer-bottom {
    text-align: center;
    padding-top: var(--bpc-spacing-md);
    border-top: 1px solid var(--bpc-border);
}

.bpc-footer-bottom p {
    font-size: 13px;
    color: var(--bpc-text-secondary);
}

/* Cookie Banner */
.bpc-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 48px);
    max-width: 500px;
    background: var(--bpc-card);
    border: 1px solid var(--bpc-border);
    border-radius: 16px;
    padding: var(--bpc-spacing-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bpc-cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.bpc-cookie-text {
    font-size: 14px;
    color: var(--bpc-text-secondary);
    margin-bottom: var(--bpc-spacing-sm);
}

.bpc-cookie-actions {
    display: flex;
    gap: var(--bpc-spacing-sm);
}

.bpc-cookie-btn {
    flex: 1;
    font-family: var(--bpc-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bpc-cookie-accept {
    background: linear-gradient(135deg, var(--bpc-amber), var(--bpc-copper));
    color: var(--bpc-bg);
}

.bpc-cookie-accept:hover {
    box-shadow: 0 4px 15px rgba(242, 179, 93, 0.3);
}

.bpc-cookie-decline {
    background: transparent;
    color: var(--bpc-text-secondary);
    border: 1px solid var(--bpc-border);
}

.bpc-cookie-decline:hover {
    border-color: var(--bpc-text-secondary);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .bpc-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bpc-panel);
        padding: var(--bpc-spacing-md);
        gap: var(--bpc-spacing-sm);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--bpc-border);
    }

    .bpc-nav.active {
        transform: translateY(0);
    }

    .bpc-mobile-toggle {
        display: flex;
    }

    .bpc-game-card {
        grid-template-columns: 1fr;
    }

    .bpc-hero-actions {
        flex-direction: column;
    }

    .bpc-btn {
        width: 100%;
    }

    .bpc-stat-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .bpc-container {
        padding: 0 var(--bpc-spacing-sm);
    }

    .bpc-logo-text {
        display: none;
    }

    .bpc-section-title {
        font-size: 24px;
    }

    .bpc-cookie-banner {
        width: calc(100% - 32px);
        bottom: 16px;
    }
}
