/* RinkScope NHL - Tech Theme with Bulma CSS */
/* Color Palette: Electric blues, cyans, neon accents on dark */

:root {
    --primary-dark: #0a1628;
    --primary-blue: #1e3a5f;
    --accent-cyan: #00d4ff;
    --accent-blue: #3b82f6;
    --neon-green: #00ff88;
    --ice-white: #f0f8ff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --card-bg: rgba(30, 58, 95, 0.6);
    --gradient-start: #0a1628;
    --gradient-end: #1e3a5f;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Override Bulma defaults for dark theme */
.title, .subtitle {
    color: var(--ice-white) !important;
}

.content {
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.5rem 0;
}

.navbar-brand .navbar-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan) !important;
    letter-spacing: -0.5px;
}

.navbar-brand .navbar-item:hover {
    background: transparent !important;
    color: var(--neon-green) !important;
}

.navbar-item {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
}

.navbar-item:hover {
    color: var(--accent-cyan) !important;
    background: rgba(0, 212, 255, 0.1) !important;
}

.navbar-burger {
    color: var(--text-light);
}

.navbar-burger:hover {
    background: rgba(0, 212, 255, 0.1);
}

.navbar-menu {
    background: rgba(10, 22, 40, 0.98) !important;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        padding: 1rem 0;
        border-top: 1px solid rgba(0, 212, 255, 0.2);
    }

    .navbar-menu.is-active {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    padding: 4rem 1.5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--ice-white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Device Mockup */
.device-mockup {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 25px 50px rgba(0, 212, 255, 0.3));
}

.device-mockup::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(145deg, rgba(30, 58, 95, 0.8), rgba(10, 22, 40, 0.9));
    border-radius: 35px;
    z-index: -1;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.device-mockup img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

@media screen and (max-width: 768px) {
    .device-mockup {
        max-width: 220px;
    }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button.is-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--primary-dark);
    border: none;
}

.button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.button.is-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.button.is-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.button.is-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Cards */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    color: var(--ice-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    text-align: left;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
    padding: 4rem 1.5rem;
    max-height: 500px;
    overflow: hidden;
    background: rgba(10, 22, 40, 0.5);
}

.screenshot-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 350px;
}

.screenshot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.screenshot-wrapper {
    position: relative;
    max-width: 200px;
    max-height: 350px;
}

.screenshot-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(145deg, rgba(30, 58, 95, 0.8), rgba(10, 22, 40, 0.9));
    border-radius: 25px;
    z-index: -1;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.screenshot-img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.screenshot-img.loading {
    filter: blur(5px);
    opacity: 0.7;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: var(--accent-cyan);
    transform: scale(1.2);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
}

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ice-white);
}

.section-title span {
    color: var(--accent-cyan);
}

/* Alternating Feature Blocks */
.feature-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-block-content {
    flex: 1;
    text-align: left;
}

.feature-block-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ice-white);
    margin-bottom: 1rem;
}

.feature-block-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-block-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

@media screen and (max-width: 768px) {
    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .feature-block-content {
        text-align: center;
    }

    .feature-block-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ice-white);
}

.cta-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: rgba(10, 22, 40, 0.95);
    padding: 4rem 1.5rem 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-column h4 {
    color: var(--ice-white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Privacy Page Specific */
.privacy-content,
.terms-content,
.contact-content {
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h1,
.terms-content h1,
.contact-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--ice-white);
    text-align: center;
}

.privacy-content h2,
.terms-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.privacy-content p,
.terms-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.7;
}

.privacy-content ul,
.terms-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-content li,
.terms-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: left;
}

.privacy-content a,
.terms-content a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover,
.terms-content a:hover {
    color: var(--neon-green);
    text-decoration: underline;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Privacy Accept Button */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    padding: 1rem 1.5rem;
    border-top: 2px solid var(--accent-cyan);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.privacy-accept-btn {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--accent-cyan) 100%);
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 200px;
}

.privacy-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--ice-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 22, 40, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 0.75rem;
}

.form-group input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--primary-dark);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.form-success {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: var(--neon-green);
    font-weight: 600;
    display: none;
}

.form-success.show {
    display: block;
}

/* Contact Page Split Layout */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.contact-info h2 {
    color: var(--ice-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item .icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item .details {
    text-align: left;
}

.contact-info-item .details h4 {
    color: var(--ice-white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-item .details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .contact-split {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive utilities */
.is-hidden-mobile {
    display: block;
}

@media screen and (max-width: 768px) {
    .is-hidden-mobile {
        display: none;
    }
}

.is-hidden-desktop {
    display: none;
}

@media screen and (max-width: 768px) {
    .is-hidden-desktop {
        display: block;
    }
}

/* Page padding for fixed navbar */
.page-content {
    padding-top: 70px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}
