@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #7c4dff;
    --text: #ffffff;
    --bg-dark: #111827;
    --bg-darker: #0b101b;
    --accent: #6c38e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-darker);
    background-image: url('/assets/gtaonline-after-hours-tale-of-us-artwork-png.png');
    background-size: 100% 100%;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -2;
}

/* Smoke effect styling */
.smoke {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.smoke-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0;
    animation: smokeFloat 15s infinite;
}

/* Spark effect styling */
.spark {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffaa00;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 170, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes smokeFloat {
    0% {
        transform: translateY(100%) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100vh) scale(3);
        opacity: 0;
    }
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-40px);
    }
}

/* DESKTOP STYLES */
.desktop-container {
    display: block;
}

.mobile-container {
    display: none;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    margin-left: 10px;
    letter-spacing: 1px;
}

.navigation {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
}

.navigation a {
    color: var(--text);
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navigation a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.navigation a:hover::after {
    width: 100%;
}

.slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}

.slide-content {
    width: 50%;
    padding-left: 50px;
    padding-top: 50px;
    z-index: 5;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.slide-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #d8d5d5;
    max-width: 500px;
    line-height: 1.6;
}

.slide-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image .image-container {
    width: 450px;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.3) 0%, rgba(124, 77, 255, 0) 70%);
    filter: blur(15px);
    animation: pulse 3s ease-in-out infinite alternate;
}

.slide-image img {
    width: 85%;
    height: 85%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(124, 77, 255, 0.3);
}

.nav-arrow {
    position: absolute;
    bottom: 50px;
    width: 50px;
    height: 50px;
    background: rgba(124, 77, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 10;
}

.nav-arrow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.nav-arrow:hover::before {
    transform: scale(1);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
    fill: white;
    position: relative;
    z-index: 1;
}

.nav-prev {
    left: 20px;
}

.nav-next {
    right: 20px;
}

.get-started {
    display: inline-block;
    background: rgba(124, 77, 255, 0.2);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.get-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.get-started:hover::before {
    width: 100%;
}

.get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 77, 255, 0.3);
}

.get-started img {
    width: 20px;
    vertical-align: middle;
    margin-left: 10px;
}

.how-to-start {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    border: 1px solid rgba(124, 77, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.how-to-start.active {
    opacity: 1;
    visibility: visible;
}

.how-to-start h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.how-to-start h3 img {
    width: 24px;
    margin-right: 10px;
}

.how-to-start p {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.purchase-btn {
    display: block;
    background: rgba(124, 77, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 77, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.purchase-btn:hover::before {
    width: 100%;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.3);
}

.purchase-btn img {
    width: 20px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Mobile menu styling */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
    background: rgba(11, 16, 27, 0.7);
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 2px 0;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animations and effects */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

.shape {
    position: absolute;
    background: rgba(124, 77, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.shape1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    animation: pulse 4s ease-in-out infinite alternate;
}

.shape2 {
    bottom: 10%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: rgba(124, 77, 255, 0.05);
    animation: pulse 5s ease-in-out infinite alternate-reverse;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #d8d5d5;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 1;
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(124, 77, 255, 0.3);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* MOBILE STYLES - COMPLETELY DIFFERENT LAYOUT */
@media (max-width: 1024px) {
    .desktop-container {
        display: none;
    }
    
    .mobile-container {
        display: block;
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
    }
    
    /* Mobile Header */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background: rgba(11, 16, 27, 0.8);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(124, 77, 255, 0.2);
    }
    
    .mobile-logo {
        display: flex;
        align-items: center;
    }
    
    .mobile-logo img {
        height: 30px;
        width: auto;
    }
    
    .mobile-logo span {
        color: var(--primary);
        font-weight: 700;
        font-size: 16px;
        margin-left: 8px;
        letter-spacing: 1px;
    }
    
    .mobile-menu-toggle {
        width: 30px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        cursor: pointer;
        background: transparent;
        border: none;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* Mobile Navigation Drawer */
    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 16, 27, 0.95);
        backdrop-filter: blur(10px);
        z-index: 200;
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-drawer.open {
        right: 0;
    }
    
    .close-drawer {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        background: rgba(124, 77, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .close-drawer span {
        position: relative;
        width: 20px;
        height: 3px;
        background: transparent;
    }
    
    .close-drawer span::before,
    .close-drawer span::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: white;
        left: 0;
        top: 0;
    }
    
    .close-drawer span::before {
        transform: rotate(45deg);
    }
    
    .close-drawer span::after {
        transform: rotate(-45deg);
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .mobile-nav-links a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
        padding: 15px 0;
        border-bottom: 1px solid rgba(124, 77, 255, 0.1);
        display: flex;
        align-items: center;
    }
    
    .mobile-nav-links a svg {
        margin-right: 15px;
        width: 24px;
        height: 24px;
        fill: var(--primary);
    }
    
    /* Mobile Content */
    .mobile-content {
        padding-top: 70px;
        padding-bottom: 40px;
        width: 100%;
    }
    
    .mobile-slide {
        padding: 20px;
        text-align: center;
        display: none;
    }
    
    .mobile-slide.active {
        display: block;
    }
    
    .mobile-slide-header {
        margin-bottom: 30px;
    }
    
    .mobile-slide-header h1 {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: linear-gradient(45deg, var(--text), var(--primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .mobile-slide-header p {
        font-size: 16px;
        color: #b0b0b0;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .mobile-image {
        width: 250px;
        height: 250px;
        margin: 20px auto;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-glow {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(124, 77, 255, 0.3) 0%, rgba(124, 77, 255, 0) 70%);
        filter: blur(15px);
        animation: pulse 3s ease-in-out infinite alternate;
    }
    
    .mobile-image img {
        width: 85%;
        height: 85%;
        border-radius: 50%;
        object-fit: cover;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 30px rgba(124, 77, 255, 0.3);
    }
    
    .mobile-get-started {
        display: block;
        width: 80%;
        max-width: 250px;
        margin: 30px auto 20px;
        background: rgba(124, 77, 255, 0.2);
        color: white;
        padding: 15px 20px;
        border-radius: 30px;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        border: 1px solid var(--primary);
        font-size: 16px;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .mobile-get-started::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: var(--primary);
        transition: width 0.3s ease;
        z-index: -1;
    }
    
    .mobile-get-started:active::before {
        width: 100%;
    }
    
    .mobile-how-to-start {
        background: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 15px;
        width: 90%;
        max-width: 350px;
        margin: 20px auto;
        border: 1px solid rgba(124, 77, 255, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-how-to-start h3 {
        font-size: 16px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        color: var(--primary);
    }
    
    .mobile-how-to-start h3 img {
        width: 20px;
        margin-right: 10px;
    }
    
    .mobile-how-to-start p {
        font-size: 14px;
        color: #b0b0b0;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .mobile-purchase-btn {
        display: block;
        background: rgba(124, 77, 255, 0.2);
        color: white;
        padding: 12px 15px;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        margin-bottom: 10px;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        border: 1px solid rgba(124, 77, 255, 0.3);
    }
    
    .mobile-purchase-btn img {
        width: 16px;
        vertical-align: middle;
        margin-right: 8px;
    }
    
    /* Mobile Tabs Navigation */
    .mobile-tabs {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    
    .mobile-tab {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        margin: 0 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-tab.active {
        background: var(--primary);
        transform: scale(1.2);
    }
    
    /* Mobile Footer */
    .mobile-footer {
        padding: 15px;
        text-align: center;
        font-size: 11px;
        color: #666;
        background: rgba(11, 16, 27, 0.7);
        backdrop-filter: blur(5px);
        position: fixed;
        bottom: 0;
        width: 100%;
        border-top: 1px solid rgba(124, 77, 255, 0.1);
    }
    
    /* Tablet specific adjustments */
    @media (min-width: 768px) and (max-width: 1024px) {
        .mobile-slide-header h1 {
            font-size: 2.6rem;
        }
        
        .mobile-image {
            width: 300px;
            height: 300px;
        }
        
        .mobile-how-to-start {
            max-width: 400px;
        }
        
        .mobile-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: calc(100vh - 110px);
        }
    }

    
}

/* HERO SECTIONS FOR RULES & DONATIONS */
.hero-section {
  min-height: 100vh;
  padding: 150px 10% 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  background: #0b101b;

}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-section h1 span {
  background: linear-gradient(135deg, #8e44ad, #9b59b6); /* modern purple gradient */
  color: #fff; /* text color */
  padding: 0.3em 0.8em; /* spacing around text */
  border-radius: 12px; /* rounded corners */
  display: inline-block;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Optional hover effect */
.hero-section h1 span:hover {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  transform: scale(1.05);
}


.hero-subtitle {
  color: #d8d5d5;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 700px;
}

.hero-section .get-started {
  margin-top: 40px;
}

/* MOBILE HERO */
@media (max-width: 1024px) {
  .hero-section {
    padding: 120px 30px 80px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}
