/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --highlight-color: #0f3460;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-color);
}

.nav-logo i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.nav-logo:hover i {
    transform: scale(1.1);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Simplified Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 52, 96, 0.9) 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.title-word {
    display: block;
    background: linear-gradient(45deg, var(--accent-color), var(--light-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInFromLeft 0.8s ease forwards;
    opacity: 0;
}

.title-word:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--light-color);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* Simplified Button Effects */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
    color: white;
    transform: translateY(0);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

.btn-game {
    width: 100%;
    justify-content: center;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-gamepad,
.floating-dice,
.floating-trophy {
    position: absolute;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.floating-gamepad {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.floating-dice {
    top: 50%;
    right: 40%;
    animation-delay: 1.5s;
    color: var(--highlight-color);
}

.floating-trophy {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
    color: var(--light-color);
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    z-index: 6;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Simplified Card Effects */
.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.game-card.featured {
    border: 2px solid var(--accent-color);
}

.game-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-icon {
    font-size: 4rem;
    color: white;
    animation: pulse 2s infinite;
}

.game-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
}

.game-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.game-info p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* TicBoom Section */
.ticboom-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.05) 0%, rgba(15, 52, 96, 0.05) 100%);
    position: relative;
    z-index: 6;
}

.ticboom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

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

.ticboom-banner {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.ticboom-banner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

/* Simplified Info Cards */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.info-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.info-card p {
    color: var(--text-color);
    opacity: 0.8;
}

.ticboom-cta {
    text-align: center;
}

.game-availability {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.coming-soon-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(233, 69, 96, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.coming-soon-notice i {
    font-size: 1.3rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    z-index: 6;
}

.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 107, 107, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(233, 69, 96, 0.1);
    transform: translateY(-5px);
}

.value-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.value-item p {
    color: var(--text-color);
    opacity: 0.8;
}

.team-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 20px;
    color: white;
    font-size: 5rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    z-index: 6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-color);
    opacity: 0.8;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 10;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

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

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

/* ==================== SPECTACULAR NEW EFFECTS ==================== */

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(233, 69, 96, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    z-index: 3;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Enhanced Glassmorphism Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* 3D Card Effects */
.game-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    z-index: 1;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Info Cards 3D Effect */
.info-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-8px) scale(1.03);
}

/* Value Items with Glassmorphism */
.value-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Enhanced Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Animated Background Gradients */
.hero {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.95) 0%, 
        rgba(15, 52, 96, 0.95) 50%,
        rgba(26, 26, 46, 0.95) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Floating Icons */
.floating-gamepad,
.floating-dice,
.floating-trophy {
    filter: drop-shadow(0 0 20px rgba(233, 69, 96, 0.3));
    transition: all 0.3s ease;
}

.floating-gamepad:hover,
.floating-dice:hover,
.floating-trophy:hover {
    transform: translateY(-20px) scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 30px rgba(233, 69, 96, 0.6));
}

/* Text Glitch Effect */
@keyframes glitch {
    0% {
        text-shadow: 
            0.05em 0 0 rgba(233, 69, 96, 0.75),
            -0.05em -0.025em 0 rgba(15, 52, 96, 0.75),
            -0.025em 0.05em 0 rgba(233, 69, 96, 0.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(233, 69, 96, 0.75),
            -0.05em -0.025em 0 rgba(15, 52, 96, 0.75),
            -0.025em 0.05em 0 rgba(233, 69, 96, 0.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(233, 69, 96, 0.75),
            0.025em 0.025em 0 rgba(15, 52, 96, 0.75),
            -0.05em -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(233, 69, 96, 0.75),
            0.025em 0.025em 0 rgba(15, 52, 96, 0.75),
            -0.05em -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(233, 69, 96, 0.75),
            0.05em 0 0 rgba(15, 52, 96, 0.75),
            0 -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(233, 69, 96, 0.75),
            0.05em 0 0 rgba(15, 52, 96, 0.75),
            0 -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    100% {
        text-shadow: 
            -0.025em 0 0 rgba(233, 69, 96, 0.75),
            -0.025em -0.025em 0 rgba(15, 52, 96, 0.75),
            -0.025em -0.05em 0 rgba(233, 69, 96, 0.75);
    }
}

/* Shimmer Effect for Icons */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.game-icon i,
.info-card i,
.value-item i {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s infinite linear;
}

/* Enhanced Pulse Animation */
@keyframes enhancedPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(233, 69, 96, 0);
    }
}

.secret-word {
    animation: enhancedPulse 2s infinite;
}

/* Typewriter Effect Class */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}

/* Aurora Effect */
@keyframes aurora {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-20px) scale(1.1);
    }
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(233, 69, 96, 0.2), transparent);
    animation: aurora 8s ease-in-out infinite;
    pointer-events: none;
}

.about-section {
    position: relative;
    overflow: hidden;
}

/* Enhanced Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.2);
}

/* Ripple Effect on Click */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn.ripple {
    position: relative;
    overflow: hidden;
}

.btn .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    width: 100px;
    height: 100px;
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

/* Neon Glow for Section Titles */
.section-title {
    text-shadow: 
        0 0 10px rgba(233, 69, 96, 0.5),
        0 0 20px rgba(233, 69, 96, 0.3),
        0 0 30px rgba(233, 69, 96, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(233, 69, 96, 0.5),
            0 0 20px rgba(233, 69, 96, 0.3),
            0 0 30px rgba(233, 69, 96, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(233, 69, 96, 0.8),
            0 0 30px rgba(233, 69, 96, 0.6),
            0 0 45px rgba(233, 69, 96, 0.4);
    }
}

/* Smooth Reveal Animation */
@keyframes smoothReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal {
    animation: smoothReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Tag Animation */
.tag {
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Footer Social Links Enhanced */
.footer-social a {
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(233, 69, 96, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.footer-social a:hover::before {
    width: 100%;
    height: 100%;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Animated Background Gradients */
.hero {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.95) 0%, 
        rgba(15, 52, 96, 0.95) 50%,
        rgba(26, 26, 46, 0.95) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Floating Icons */
.floating-gamepad,
.floating-dice,
.floating-trophy {
    filter: drop-shadow(0 0 20px rgba(233, 69, 96, 0.3));
    transition: all 0.3s ease;
}

.floating-gamepad:hover,
.floating-dice:hover,
.floating-trophy:hover {
    transform: translateY(-20px) scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 30px rgba(233, 69, 96, 0.6));
}

/* Text Glitch Effect */
@keyframes glitch {
    0% {
        text-shadow: 
            0.05em 0 0 rgba(233, 69, 96, 0.75),
            -0.05em -0.025em 0 rgba(15, 52, 96, 0.75),
            -0.025em 0.05em 0 rgba(233, 69, 96, 0.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(233, 69, 96, 0.75),
            -0.05em -0.025em 0 rgba(15, 52, 96, 0.75),
            -0.025em 0.05em 0 rgba(233, 69, 96, 0.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(233, 69, 96, 0.75),
            0.025em 0.025em 0 rgba(15, 52, 96, 0.75),
            -0.05em -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(233, 69, 96, 0.75),
            0.025em 0.025em 0 rgba(15, 52, 96, 0.75),
            -0.05em -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(233, 69, 96, 0.75),
            0.05em 0 0 rgba(15, 52, 96, 0.75),
            0 -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(233, 69, 96, 0.75),
            0.05em 0 0 rgba(15, 52, 96, 0.75),
            0 -0.05em 0 rgba(233, 69, 96, 0.75);
    }
    100% {
        text-shadow: 
            -0.025em 0 0 rgba(233, 69, 96, 0.75),
            -0.025em -0.025em 0 rgba(15, 52, 96, 0.75),
            -0.025em -0.05em 0 rgba(233, 69, 96, 0.75);
    }
}

/* Shimmer Effect for Icons */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.game-icon i,
.info-card i,
.value-item i {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s infinite linear;
}

/* Enhanced Pulse Animation */
@keyframes enhancedPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(233, 69, 96, 0);
    }
}

.secret-word {
    animation: enhancedPulse 2s infinite;
}

/* Typewriter Effect Class */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}

/* Aurora Effect */
@keyframes aurora {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-20px) scale(1.1);
    }
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(233, 69, 96, 0.2), transparent);
    animation: aurora 8s ease-in-out infinite;
    pointer-events: none;
}

.about-section {
    position: relative;
    overflow: hidden;
}

/* Enhanced Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.2);
}

/* Ripple Effect on Click */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn.ripple {
    position: relative;
    overflow: hidden;
}

.btn .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    width: 100px;
    height: 100px;
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

/* Neon Glow for Section Titles */
.section-title {
    text-shadow: 
        0 0 10px rgba(233, 69, 96, 0.5),
        0 0 20px rgba(233, 69, 96, 0.3),
        0 0 30px rgba(233, 69, 96, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(233, 69, 96, 0.5),
            0 0 20px rgba(233, 69, 96, 0.3),
            0 0 30px rgba(233, 69, 96, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(233, 69, 96, 0.8),
            0 0 30px rgba(233, 69, 96, 0.6),
            0 0 45px rgba(233, 69, 96, 0.4);
    }
}

/* Smooth Reveal Animation */
@keyframes smoothReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal {
    animation: smoothReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Tag Animation */
.tag {
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Footer Social Links Enhanced */
.footer-social a {
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(233, 69, 96, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.footer-social a:hover::before {
    width: 100%;
    height: 100%;
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-graphics {
        height: 300px;
        margin-top: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ticboom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ticboom-info {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

    .ticboom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ticboom-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .container {
        padding: 0 15px;
    }

    .game-board {
        padding: 1.5rem;
    }

    .secret-word {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-social {
        justify-content: center;
    }
}
