/* TripNordic.click - Space Roll Gaming Website */
/* Unique Nordic/Space Theme: Cool Blues, Purples, Cosmic Design */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #8b5cf6;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-light: #f1f5f9;
    --text-muted: #cbd5e1;
    --border-color: #334155;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-2: linear-gradient(to right, #0f172a, #1e293b);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: rotate(15deg) scale(1.1);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-light);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.space-animation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.space-icon {
    width: 100px;
    height: 100px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.space-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.space-icon:nth-child(3) {
    animation-delay: 1s;
}

.space-icon:hover {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Disclaimer Section */
.home-disclaimer-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.home-disclaimer-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(30, 58, 138, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    text-align: center;
}

.disclaimer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.home-disclaimer-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.home-disclaimer-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Game Section */
.home-game-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.home-game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-game-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.home-game-wrapper {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.home-game-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: rgba(30, 58, 138, 0.1);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.home-game-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.home-game-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2rem;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Game Page */
.game-page {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    background: var(--dark-bg);
}

.game-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 600px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
    background: var(--dark-bg);
    min-height: calc(100vh - 200px);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Business Info Section */
.business-info {
    background: rgba(30, 58, 138, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.business-info h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-item strong {
    display: block;
    color: var (--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(30, 58, 138, 0.1);
    border: 2px solid var(--border-color);
    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(--secondary-color);
    background: rgba(59, 130, 246, 0.1);
}

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

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    background: var(--dark-bg);
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.legal-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--text-muted);
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--light-bg);
    border-top: 2px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-image-section {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.link-group h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.disclaimer-card {
    background: rgba(30, 58, 138, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.disclaimer-card p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.popup-overlay.hidden {
    display: none;
}

.popup-content {
    background: var(--light-bg);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(59, 130, 246, 0.3);
    animation: popupSlide 0.3s ease-out;
}

@keyframes popupSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-content h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.popup-btn {
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    padding: 2rem;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.review-info h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1rem;
}

.review-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 2px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .space-animation {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .space-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .logo-image {
        width: 38px;
        height: 38px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }

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

    .popup-content {
        padding: 2rem;
        margin: 1rem;
    }

    .home-disclaimer-card {
        padding: 1.5rem;
    }
}
