.regolamento-hero {
    height: 50vh;
    min-height: 340px;
    background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url("assets/pag_header.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.regolamento-hero__content {
    max-width: 700px;
    padding: 0 20px;
}

.regolamento-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.regolamento-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.regolamento-main {
    padding: 4rem 20px 5rem;
}

.regolamento-section {
    background: var(--basket-white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-left: 5px solid var(--basket-orange);
    margin-bottom: 2rem;
}

.regolamento-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-align: center;
}

.regolamento-section h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--basket-black);
}

.regolamento-section ul {
    margin-left: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.regolamento-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.regolamento-pre {
    white-space: pre-wrap;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.regolamento-section ul li {
    margin-bottom: 0.5rem;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --basket-orange: #ff6b35;
    --basket-orange-dark: #e55a2b;
    --basket-black: #1a1a1a;
    --basket-gray: #2d2d2d;
    --basket-light: #f5f5f5;
    --basket-white: #ffffff;
    --decathlon-blue: #0066cc;
    --decathlon-blue-dark: #0052a3;
    --accent-yellow: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --gradient-basket: linear-gradient(135deg, #ff6b35 0%, #e55a2b 50%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    --shadow-basket: 0 10px 40px rgba(255, 107, 53, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 86px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    background: var(--basket-white);
    padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
}

.logo-image {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    animation: bounce 2s infinite;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(15deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--basket-orange);
    line-height: 1;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--basket-orange);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--basket-orange);
}

.nav-link:hover {
    color: var(--basket-orange);
}

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

.nav-cta {
    background: var(--basket-orange);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    color: var(--basket-white) !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link svg {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--basket-white);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: none;
    white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: var(--basket-light);
    color: var(--basket-orange);
    padding-left: 1.75rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--basket-orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-basket);
}

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), url("assets/pag_header.jpg");
    background-size: cover;
    background-position: center;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 8rem;
    box-sizing: border-box;
}

#basketballCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px 0;
    width: 100%;
    max-width: 1200px;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--basket-orange);
    color: var(--basket-white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-basket);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-basket); }
    50% { transform: scale(1.05); box-shadow: 0 15px 50px rgba(255, 107, 53, 0.5); }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 0.9;
    letter-spacing: 4px;
}

.title-word {
    display: block;
    position: relative;
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

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

.title-word::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--basket-orange);
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
}

.title-word.highlight {
    color: var(--basket-orange);
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--basket-orange);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.2s forwards;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

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

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

.btn-primary {
    background: var(--basket-orange);
    color: var(--basket-white);
    box-shadow: var(--shadow-basket);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--basket-white);
    border: 3px solid var(--basket-white);
}

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

.btn span {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.4s forwards;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid var(--basket-orange);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--basket-orange);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

.basketball-float {
    position: absolute;
    font-size: 4rem;
    right: 10%;
    top: 20%;
    z-index: 2;
    animation: floatBasketball 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

@keyframes floatBasketball {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.night-notice {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem 2rem;
    border-radius: 40px;
    color: white;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 107, 53, 0.7);
    z-index: 3;
    width: auto;
    max-width: 90%;
}

.night-icon {
    font-size: 1.8rem;
    color: var(--basket-orange);
}

.night-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.night-text p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    color: rgba(255,255,255,0.95);
}

.night-text strong {
    font-size: 1.25rem;
    color: #ffe9b3;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8rem;
    color: rgba(255, 107, 53, 0.1);
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    line-height: 1;
}

.section-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: var(--basket-orange);
    color: var(--basket-white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-basket);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--basket-black);
    position: relative;
    z-index: 1;
    letter-spacing: 3px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Campo Section */
.campo {
    background: var(--basket-light);
    padding-top: 3rem;
    margin-top: -40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.campo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.campo-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.campo-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    box-sizing: border-box;
}

.campo-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.court-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(26, 26, 26, 0.1) 100%);
    z-index: 1;
}

.court-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, var(--basket-orange) 0%, transparent 0%),
        linear-gradient(to bottom, var(--basket-orange) 0%, transparent 0%);
    background-size: 20% 20%;
    opacity: 0.3;
}

.image-placeholder {
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.7)), url("assets/pag_header.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-sizing: border-box;
}

.placeholder-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.placeholder-content span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.campo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--basket-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--basket-orange);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-basket);
}

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

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--basket-black);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Tornei Section */
.tornei {
    background: var(--basket-white);
}

.tornei-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.torneo-card {
    background: var(--basket-white);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.torneo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--basket-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.torneo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-basket);
    border-color: var(--basket-orange);
}

.torneo-card:hover::before {
    transform: scaleX(1);
}

.torneo-card.featured {
    background: linear-gradient(135deg, var(--basket-orange) 0%, var(--basket-orange-dark) 100%);
    color: var(--basket-white);
    border-color: var(--basket-orange);
}

.torneo-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--basket-black);
    color: var(--basket-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.torneo-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.torneo-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.torneo-date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.torneo-card:not(.featured) .torneo-date {
    color: var(--text-light);
}

.torneo-card p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.torneo-card:not(.featured) p {
    color: var(--text-light);
}

.torneo-list {
    list-style: none;
    margin-top: 1.5rem;
}

.torneo-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.torneo-card:not(.featured) .torneo-list li {
    border-color: var(--basket-light);
    color: var(--text-light);
}

.btn-torneo {
    background: var(--basket-black);
    color: var(--basket-white);
    margin-top: 1.5rem;
}

.btn-torneo:hover {
    background: var(--basket-gray);
    transform: translateY(-3px);
}

/* Partners Section */
.partners {
    background: var(--basket-light);
}

.partners-showcase {
    margin-bottom: 4rem;
}

.partner-main {
    background: linear-gradient(135deg, var(--decathlon-blue) 0%, var(--decathlon-blue-dark) 100%);
    padding: 4rem;
    border-radius: 30px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    color: white;
}

.partner-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    width: 100%;
    max-width: 400px;
}

.partner-logo-large svg {
    width: 100%;
    height: auto;
}

.voltab-logo-main {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.mystery-logo {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(26, 26, 26, 0.3) 100%);
    border: 2px dashed rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mystery-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.mystery-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: var(--basket-orange);
    letter-spacing: 10px;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.partner-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.partner-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 1.5rem;
}

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

.partner-card {
    background: var(--basket-white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--basket-orange);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-basket);
}

.partner-logo-small {
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-small svg {
    width: 100%;
    height: 100%;
}

.partner-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--basket-black);
    letter-spacing: 1px;
}

.partner-type {
    display: inline-block;
    background: var(--basket-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.partner-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.partner-logo-image {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.partner-logo-image img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.1);
}

.voltab-specs {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--basket-light);
    border-radius: 10px;
}

.spec-item strong {
    font-size: 0.9rem;
    color: var(--basket-black);
    font-weight: 600;
}

.spec-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.partner-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--basket-orange);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.partner-link:hover {
    color: var(--basket-orange-dark);
}

.become-partner-cta {
    background: var(--basket-black);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    color: white;
}

.become-partner-cta h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.become-partner-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Community Section */
.community {
    background: var(--basket-white);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.community-stat {
    text-align: center;
    padding: 2rem;
    background: var(--basket-light);
    border-radius: 20px;
    border-left: 5px solid var(--basket-orange);
}

.stat-number-large {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--basket-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-large {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.social-section {
    width: 100%;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.social-card {
    background: var(--basket-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 4px solid var(--basket-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.social-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--basket-light);
}

.social-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-content h3 {
    font-size: 1.5rem;
    color: var(--basket-black);
    margin-bottom: 0.25rem;
    font-family: 'Bebas Neue', sans-serif;
}

.social-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-social {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(131, 58, 180, 0.4);
}

.btn-facebook {
    background: #1877f2;
    color: white;
}

.btn-facebook:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Regolamento Section */
.regolamento {
    background: var(--basket-light);
}

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

.regolamento-card {
    background: var(--basket-white);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--basket-orange);
}

.regolamento-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.regolamento-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--basket-black);
    letter-spacing: 2px;
}

.regolamento-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--basket-orange);
    border: 3px solid var(--basket-orange);
}

.btn-outline:hover {
    background: var(--basket-orange);
    color: var(--basket-white);
}

/* Mission */
.mission {
    background: var(--basket-white);
    padding-top: 4rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.mission-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 1rem 0 2rem;
    line-height: 1.8;
}

.mission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-list li {
    display: flex;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--basket-black);
    background: var(--basket-light);
    padding: 1rem;
    border-radius: 15px;
    align-items: flex-start;
}

.mission-list span {
    font-size: 1.5rem;
}

.mission-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    background: var(--basket-black);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.pillar-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Attivita */
/* Feste di Compleanno Section */
.compleanni {
    background: var(--basket-light);
    overflow: hidden;
}

.compleanni .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Banner */
.compleanni-hero {
    background: linear-gradient(135deg, var(--basket-orange) 0%, var(--basket-orange-dark) 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin-bottom: 5rem;
    box-shadow: var(--shadow-basket);
    position: relative;
    overflow: hidden;
}

.compleanni-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.compleanni-hero-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.compleanni-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: white;
}

.compleanni-hero-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.compleanni-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.compleanni-feature-card {
    background: var(--basket-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--basket-orange);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.compleanni-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--basket-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.compleanni-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-basket);
}

.compleanni-feature-card:hover::before {
    transform: scaleX(1);
}

.compleanni-feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
    transition: var(--transition);
}

.compleanni-feature-card:hover .compleanni-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.compleanni-feature-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--basket-black);
    letter-spacing: 1px;
}

.compleanni-feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* How It Works */
.compleanni-how-it-works {
    background: var(--basket-white);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 5rem;
}

.compleanni-how-header {
    text-align: center;
    margin-bottom: 4rem;
}

.compleanni-how-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--basket-black);
    letter-spacing: 2px;
}

.compleanni-how-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.compleanni-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.compleanni-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--basket-orange), transparent);
    opacity: 0.3;
    z-index: 0;
}

.compleanni-step:last-child::after {
    display: none;
}

.compleanni-step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--basket-orange);
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    border: 3px solid var(--basket-orange);
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.compleanni-step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.compleanni-step-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--basket-black);
    letter-spacing: 1px;
}

.compleanni-step-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.compleanni-cta-section {
    background: linear-gradient(135deg, var(--basket-black) 0%, var(--basket-gray) 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.compleanni-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

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

.compleanni-cta-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: white;
}

.compleanni-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.compleanni-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.compleanni-cta-buttons .btn {
    min-width: 200px;
}

.attivita {
    background: var(--basket-white);
}

.attivita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.attivita-card {
    background: var(--basket-light);
    padding: 0;
    border-radius: 20px;
    border-left: 4px solid var(--basket-orange);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attivita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.attivita-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.attivita-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attivita-card:hover .attivita-image img {
    transform: scale(1.1);
}

.attivita-card h3,
.attivita-card p,
.attivita-card .attivita-link {
    padding: 0 1.75rem;
}

.attivita-card h3 {
    padding-top: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--basket-black);
}

.attivita-card p {
    padding-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.attivita-link {
    margin-top: auto;
    padding-bottom: 1.75rem;
    color: var(--basket-orange);
    font-weight: 700;
    text-decoration: none;
}

.attivita-link:hover {
    color: var(--basket-orange-dark);
}

/* FAQ */
.faq {
    background: var(--basket-light);
}

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

.faq-card {
    background: var(--basket-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--basket-orange);
}

.faq-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--basket-black);
}

.faq-card p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--basket-black);
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: var(--basket-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--basket-black);
    font-weight: 700;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--basket-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.social-link:hover {
    color: var(--basket-orange-dark);
    transform: translateX(5px);
}

.contact-form {
    background: var(--basket-light);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--basket-black);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--basket-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--basket-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

/* Footer */
.footer {
    background: var(--basket-black);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--basket-orange);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-logo .logo-image {
    width: 60px;
    height: 60px;
}

.footer-logo h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--basket-orange);
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

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

.footer-section h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--basket-orange);
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--basket-orange);
    padding-left: 5px;
}

.footer-partners {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-partner {
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    border-left: 3px solid var(--basket-orange);
}

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

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--basket-orange);
    transform: translateY(-3px) rotate(10deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .campo-content,
    .contact-content,
    .community-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .partner-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mission-pillars {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-number {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    * {
        max-width: 100%;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Navigation */
    .nav-container {
        padding: 0 16px;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
        border-top: 2px solid rgba(0, 0, 0, 0.08);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

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

    .nav-dropdown {
        position: static;
    }

    .nav-dropdown > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin: 0;
        border: none;
        border-left: 2px solid var(--basket-orange);
    }

    .dropdown-link {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }

    .dropdown-link:hover {
        padding-left: 0;
        background: transparent;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

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

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 70px;
    }

    .hero-content {
        padding: 0 16px 90px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 120px;
    }

    .stat-value {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .night-notice {
        bottom: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.6rem 1.2rem;
        gap: 0.6rem;
        width: calc(100% - 32px);
        max-width: 400px;
        border-radius: 20px;
        position: fixed;
    }

    .night-icon {
        font-size: 1.3rem;
    }

    .night-text p {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .night-text strong {
        font-size: 0.9rem;
    }

    .basketball-float {
        font-size: 2.5rem;
        right: 5%;
        top: 15%;
    }

    /* Sections */
    section {
        padding: 4rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-number {
        font-size: 4rem;
        top: -1.5rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.5rem 1.5rem;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-description {
        font-size: 1rem;
    }

    /* Campo Section */
    .campo {
        padding-top: 2rem;
        margin-top: -30px;
    }

    .campo-content {
        gap: 2.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .campo-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .campo-image {
        width: 100%;
        max-width: 100%;
        transform: none !important;
        box-sizing: border-box;
    }
    
    .campo-image:hover {
        transform: scale(1.02) !important;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .campo-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    /* Tornei Section */
    .tornei-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .torneo-card {
        padding: 2rem 1.5rem;
    }

    .torneo-icon {
        font-size: 3rem;
    }

    .torneo-card h3 {
        font-size: 1.8rem;
    }

    /* Feste di Compleanno Section */
    .compleanni-hero {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }

    .compleanni-hero-icon {
        font-size: 4rem;
    }

    .compleanni-hero-title {
        font-size: 2rem;
    }

    .compleanni-hero-text {
        font-size: 1.1rem;
    }

    .compleanni-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .compleanni-feature-card {
        padding: 2rem 1.5rem;
    }

    .compleanni-feature-icon {
        font-size: 3rem;
    }

    .compleanni-feature-card h4 {
        font-size: 1.5rem;
    }

    .compleanni-how-it-works {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }

    .compleanni-how-header {
        margin-bottom: 3rem;
    }

    .compleanni-how-header h3 {
        font-size: 2rem;
    }

    .compleanni-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .compleanni-step {
        gap: 1.25rem;
    }

    .compleanni-step-number {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }

    .compleanni-step-content h4 {
        font-size: 1.4rem;
    }

    .compleanni-cta-section {
        padding: 3rem 2rem;
    }

    .compleanni-cta-content h3 {
        font-size: 2rem;
    }

    .compleanni-cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .compleanni-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .compleanni-cta-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    /* Activities Section */
    .attivita-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .attivita-image {
        height: 180px;
    }

    /* Partners Section */
    .partners-secondary {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-card {
        padding: 2rem 1.5rem;
    }

    .partner-main {
        padding: 2.5rem 1.5rem;
    }

    .partner-content h3 {
        font-size: 2rem;
    }

    .mystery-text {
        font-size: 3rem;
        letter-spacing: 5px;
    }

    .voltab-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Mission Section */
    .mission-pillars {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pillar-card {
        padding: 1.5rem;
    }

    .pillar-card h3 {
        font-size: 1.5rem;
    }

    /* Community Section */
    .community-stats {
        gap: 2rem;
    }

    .community-stat {
        padding: 1.5rem;
    }

    .stat-number-large {
        font-size: 3.5rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-card {
        padding: 1.5rem;
    }

    /* Regolamento Section */
    .regolamento-section {
        padding: 2rem 1.5rem;
    }

    .regolamento-section h2 {
        font-size: 2rem;
    }

    .regolamento-section h3 {
        font-size: 1.2rem;
    }

    .regolamento-card {
        padding: 2.5rem 1.5rem;
    }

    .regolamento-icon {
        font-size: 3rem;
    }

    .regolamento-card h3 {
        font-size: 2rem;
    }

    /* FAQ Section */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-card {
        padding: 1.5rem;
    }

    .faq-card h3 {
        font-size: 1.2rem;
    }

    /* Contact Section */
    .contact-content {
        gap: 3rem;
    }

    .contact-info {
        gap: 2rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .contact-item h4 {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

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

    .footer-section {
        text-align: center;
    }

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

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

    .become-partner-cta {
        padding: 2.5rem 1.5rem;
    }

    .become-partner-cta h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 65px;
    }
    
    * {
        max-width: 100%;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }

    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Navigation */
    .nav-container {
        padding: 0 12px;
    }

    .logo-image {
        width: 36px;
        height: 36px;
    }

    .logo-main {
        font-size: 1.3rem;
    }

    .logo-sub {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .nav-menu {
        top: 65px;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding-top: 65px;
    }

    .hero-content {
        padding: 0 12px 80px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        flex: 1 1 100%;
        min-width: auto;
    }

    .stat-value {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .night-notice {
        bottom: 0.5rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        width: calc(100% - 24px);
        border-radius: 15px;
        position: fixed;
        z-index: 10;
        pointer-events: none;
    }
    
    .night-notice * {
        pointer-events: auto;
    }

    .night-icon {
        font-size: 1.1rem;
    }

    .night-text p {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .night-text strong {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .basketball-float {
        font-size: 2rem;
        right: 3%;
        top: 12%;
    }

    /* Sections */
    section {
        padding: 3rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-number {
        font-size: 3rem;
        top: -1rem;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .section-description {
        font-size: 0.95rem;
    }

    /* Campo Section */
    .campo {
        padding-top: 1.5rem;
        margin-top: -20px;
    }

    .campo-content {
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .campo-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .campo-image {
        width: 100%;
        max-width: 100%;
        transform: none !important;
        box-sizing: border-box;
    }
    
    .campo-image:hover {
        transform: scale(1.02) !important;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .campo-features {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Tornei Section */
    .tornei-grid {
        gap: 1.5rem;
    }

    .torneo-card {
        padding: 1.5rem 1.25rem;
    }

    .torneo-icon {
        font-size: 2.5rem;
    }

    .torneo-card h3 {
        font-size: 1.5rem;
    }

    .torneo-card p {
        font-size: 0.95rem;
    }

    /* Feste di Compleanno Section */
    .compleanni-hero {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2.5rem;
        border-radius: 20px;
    }

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

    .compleanni-hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .compleanni-hero-text {
        font-size: 1rem;
    }

    .compleanni-features-grid {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .compleanni-feature-card {
        padding: 1.5rem 1.25rem;
    }

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

    .compleanni-feature-card h4 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .compleanni-feature-card p {
        font-size: 0.9rem;
    }

    .compleanni-how-it-works {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2.5rem;
        border-radius: 20px;
    }

    .compleanni-how-header {
        margin-bottom: 2rem;
    }

    .compleanni-how-header h3 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .compleanni-how-header p {
        font-size: 1rem;
    }

    .compleanni-steps {
        gap: 1.5rem;
    }

    .compleanni-step {
        gap: 1rem;
    }

    .compleanni-step::after {
        left: 25px;
    }

    .compleanni-step-number {
        width: 45px;
        height: 45px;
        font-size: 2rem;
        border-width: 2px;
    }

    .compleanni-step-content {
        padding-top: 0.25rem;
    }

    .compleanni-step-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .compleanni-step-content p {
        font-size: 0.9rem;
    }

    .compleanni-cta-section {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .compleanni-cta-content h3 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .compleanni-cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .compleanni-cta-buttons {
        gap: 0.875rem;
    }

    /* Activities Section */
    .attivita-grid {
        gap: 1.25rem;
    }

    .attivita-image {
        height: 160px;
    }

    .attivita-card h3 {
        font-size: 1.2rem;
        padding-top: 1.25rem;
    }

    .attivita-card p {
        font-size: 0.9rem;
        padding-bottom: 0.75rem;
    }

    .attivita-card h3,
    .attivita-card p,
    .attivita-card .attivita-link {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .attivita-link {
        padding-bottom: 1.25rem;
        font-size: 0.9rem;
    }

    /* Partners Section */
    .partners-secondary {
        gap: 1.25rem;
    }

    .partner-card {
        padding: 1.5rem 1.25rem;
    }

    .partner-main {
        padding: 2rem 1.25rem;
        gap: 1.5rem;
    }

    .partner-content h3 {
        font-size: 1.8rem;
    }

    .partner-content p {
        font-size: 1rem;
    }

    .mystery-text {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .mystery-logo {
        height: 120px;
    }

    .voltab-logo-main {
        max-width: 100%;
    }

    .voltab-specs {
        gap: 0.5rem;
    }

    .spec-item {
        padding: 0.6rem;
    }

    .spec-item strong {
        font-size: 0.85rem;
    }

    .spec-item span {
        font-size: 0.8rem;
    }

    /* Mission Section */
    .mission-content {
        gap: 2rem;
    }

    .mission-text p {
        font-size: 1rem;
    }

    .mission-list li {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .mission-list span {
        font-size: 1.3rem;
    }

    .mission-pillars {
        gap: 0.875rem;
    }

    .pillar-card {
        padding: 1.25rem;
    }

    .pillar-card h3 {
        font-size: 1.3rem;
    }

    .pillar-card p {
        font-size: 0.9rem;
    }

    /* Community Section */
    .community-stats {
        gap: 1.5rem;
    }

    .community-stat {
        padding: 1.25rem;
    }

    .stat-number-large {
        font-size: 3rem;
    }

    .stat-label-large {
        font-size: 1rem;
    }

    .social-grid {
        gap: 0.875rem;
    }

    .social-card {
        padding: 1.25rem;
    }

    .social-logo {
        width: 50px;
        height: 50px;
    }

    .social-content h3 {
        font-size: 1.3rem;
    }

    .social-content p {
        font-size: 0.85rem;
    }

    .btn-social {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Regolamento Section */
    .regolamento-section {
        padding: 1.5rem 1.25rem;
    }

    .regolamento-section h2 {
        font-size: 1.8rem;
    }

    .regolamento-section h3 {
        font-size: 1.1rem;
    }

    .regolamento-section ul,
    .regolamento-section p {
        font-size: 0.95rem;
    }

    .regolamento-card {
        padding: 2rem 1.25rem;
    }

    .regolamento-icon {
        font-size: 2.5rem;
    }

    .regolamento-card h3 {
        font-size: 1.8rem;
    }

    .regolamento-card p {
        font-size: 1rem;
    }

    .regolamento-hero {
        min-height: 250px;
        height: 40vh;
    }

    .regolamento-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .regolamento-hero p {
        font-size: 0.95rem;
    }

    /* FAQ Section */
    .faq-grid {
        gap: 1.25rem;
    }

    .faq-card {
        padding: 1.25rem;
    }

    .faq-card h3 {
        font-size: 1.1rem;
    }

    .faq-card p {
        font-size: 0.9rem;
    }

    .faq-cta p {
        font-size: 1.1rem;
    }

    /* Contact Section */
    .contact-content {
        gap: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        gap: 0.875rem;
    }

    .contact-icon {
        font-size: 1.8rem;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem 1.25rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-logo .logo-image {
        width: 50px;
        height: 50px;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-logo p {
        font-size: 0.85rem;
    }

    .footer-section h4 {
        font-size: 1.3rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-partner {
        padding: 0.6rem 0.875rem;
        font-size: 0.85rem;
    }

    .footer-social-link {
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .become-partner-cta {
        padding: 2rem 1.25rem;
    }

    .become-partner-cta h3 {
        font-size: 1.8rem;
    }

    .become-partner-cta p {
        font-size: 1rem;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .btn-torneo,
    .btn-outline {
        width: 100%;
    }
}
