/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2d1b69 0%, #1a0b3d 50%, #4a148c 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 
        0 0 5px #ff00ff,
        0 0 10px #ff00ff,
        0 0 15px #ff00ff,
        2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: #00ffff;
    font-weight: 300;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff;
    letter-spacing: 1px;
}

/* Tiles container */
.tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    flex: 1;
    margin-bottom: 40px;
}

/* Individual tile styles */
.tile {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 0, 255, 0.5);
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #ff0080);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.tile:hover::before {
    transform: scaleX(1);
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 0, 255, 0.6),
        0 0 50px rgba(0, 255, 255, 0.4),
        inset 0 0 30px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.8);
}

/* Tile icons */
.tile-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.tile:hover .tile-icon {
    transform: scale(1.1);
}

/* Platform-specific colors */
.facebook .tile-icon {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.youtube .tile-icon {
    background: linear-gradient(135deg, #ff0000, #ff0080);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.discord .tile-icon {
    background: linear-gradient(135deg, #7289da, #5865f2);
    box-shadow: 0 0 20px rgba(114, 137, 218, 0.6);
}

.twitch .tile-icon {
    background: linear-gradient(135deg, #ff00ff, #8000ff);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.kerguhl-eats .tile-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.tiktok .tile-icon {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.twitter .tile-icon {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.6);
}

.merch .tile-icon {
    background: linear-gradient(135deg, #ffff00, #ff8000);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.6);
}

.more .tile-icon {
    background: linear-gradient(135deg, #00ff80, #00ffff);
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.6);
}

/* Tile content */
.tile-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    letter-spacing: 1px;
}

.tile-description {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.tile-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(255, 0, 255, 0.4),
        0 0 20px rgba(255, 0, 255, 0.3);
    border: 1px solid rgba(255, 0, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tile-link:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 0, 255, 0.6),
        0 0 30px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border-color: rgba(0, 255, 255, 0.8);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #00ffff;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tiles-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .tile {
        padding: 25px 20px;
    }
    
    .tile-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tile-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .tiles-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tile {
        padding: 20px 15px;
    }
    
    .tile-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .tile-title {
        font-size: 1.3rem;
    }
    
    .tile-description {
        font-size: 0.9rem;
    }
    
    .tile-link {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .tiles-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1025px) {
    .tiles-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .tiles-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .tile {
        padding: 40px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tile {
    animation: fadeInUp 0.6s ease-out forwards;
}

.tile:nth-child(1) { animation-delay: 0.1s; }
.tile:nth-child(2) { animation-delay: 0.2s; }
.tile:nth-child(3) { animation-delay: 0.3s; }
.tile:nth-child(4) { animation-delay: 0.4s; }
.tile:nth-child(5) { animation-delay: 0.5s; }
.tile:nth-child(6) { animation-delay: 0.6s; }
.tile:nth-child(7) { animation-delay: 0.7s; }
.tile:nth-child(8) { animation-delay: 0.8s; }
.tile:nth-child(9) { animation-delay: 0.9s; }

/* Newsletter Section */
.newsletter-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 0, 255, 0.5);
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    letter-spacing: 1px;
}

.newsletter-content p {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 15px 25px;
    border: 2px solid rgba(255, 0, 255, 0.5);
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 1rem;
    min-width: 300px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(255, 0, 255, 0.4),
        0 0 20px rgba(255, 0, 255, 0.3);
    border: 1px solid rgba(255, 0, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 0, 255, 0.6),
        0 0 30px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border-color: rgba(0, 255, 255, 0.8);
}

/* Enhanced Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    padding: 40px;
    margin-top: auto;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 0, 255, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    letter-spacing: 1px;
}

.footer-section p {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.footer-section ul li a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.footer-bottom p {
    color: #00ffff;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Newsletter and Footer Responsive Design */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 30px 20px;
    }
    
    .newsletter-content h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input[type="email"] {
        min-width: 250px;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .newsletter-form input[type="email"] {
        min-width: 200px;
        padding: 12px 20px;
    }
    
    .newsletter-form button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

