/*
 * FreekyButtyIce Website - Main Stylesheet
 * Modern, responsive design with purple/pink theme
 */

/* Custom Properties (Variables) */
:root {
    /* Color Scheme - Purple/Pink Theme (different from previous sites) */
    --primary-color: #f72585;
    --secondary-color: #6a4c93;
    --accent-color: #4cc9f0;
    --text-color: #ffffff;
    --text-dark: #333333;
    --bg-dark: #240046;
    --bg-light: #f8edeb;
    --bg-secondary: #3c096c;
    --border-color: #7b2cbf;
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lato', sans-serif;
    
    /* Spacing */
    --section-spacing: 100px;
    --element-spacing: 20px;
    
    /* Effects */
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Styles */
html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-spacing) 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

h1 {
    font-size: 5.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 4.2rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(247, 37, 133, 0.5);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.4rem 3.2rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #b5179e);
    color: #fff;
}

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(36, 0, 70, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(36, 0, 70, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo-container {
    z-index: 1001;
}

.logo {
    display: block;
}

.logo-svg {
    height: 50px;
    width: auto;
    color: var(--primary-color);
    transition: var(--transition);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--text-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #4cc9f0 0%, #6a4c93 40%, #240046 100%);
    color: var(--text-color);
    overflow: hidden;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

.hero-subtitle {
    font-size: 2.4rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f72585' fill-opacity='0.1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,218.7C960,192,1056,128,1152,122.7C1248,117,1344,171,1392,197.3L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

/* Features Section */
.features-section {
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4rem;
}

.feature-card {
    background: linear-gradient(145deg, #3a0869 0%, #4c0976 100%);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.2) 0%, rgba(76, 201, 240, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    transition: var(--transition);
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(247, 37, 133, 1) 0%, rgba(76, 201, 240, 1) 100%);
    color: #fff;
}

.feature-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-description {
    margin-bottom: 2.5rem;
    color: #e2e2e2;
}

.feature-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.feature-link::after {
    content: "→";
    margin-left: 0.5rem;
    transition: var(--transition);
}

.feature-link:hover::after {
    margin-left: 1rem;
}

/* Entertainment Section */
.entertainment-section {
    background-color: var(--bg-dark);
    position: relative;
}

.entertainment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%236a4c93' fill-opacity='0.1' d='M0,160L48,165.3C96,171,192,181,288,192C384,203,480,213,576,213.3C672,213,768,203,864,181.3C960,160,1056,128,1152,133.3C1248,139,1344,181,1392,202.7L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    opacity: 0.2;
    z-index: 0;
}

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 0.2rem;
}

.section-subtitle {
    font-size: 2rem;
    color: #ccc;
    font-weight: 300;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.resource-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.resource-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.resource-card:hover::after {
    transform: scaleX(1);
}

.resource-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.resource-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 3px;
    background-color: var(--primary-color);
}

.resource-links li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.resource-links li::before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.resource-links li a {
    font-weight: 500;
    transition: var(--transition);
}

.resource-links li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-color);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

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

.footer-links-column h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.footer-links-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links-column ul li {
    margin-bottom: 1rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

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

.footer-favicon {
    margin-bottom: 1.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    h1 {
        font-size: 4.2rem;
    }
    
    h2 {
        font-size: 3.4rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 4rem 2rem;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-column {
        text-align: center;
    }
    
    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
