/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #FFA6C9;
    --light-pink: #FFCCE5;
    --purple: #D8B5FF;
    --light-purple: #E9D7FF;
    --yellow: #FFFCB7;
    --teal: #B5F8FF;
    --dark: #333333;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --text: #444444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

section {
    padding: 80px 20px;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    color: var(--light);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.01em;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 3%;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, var(--pink), var(--purple));
    border-image-slice: 1;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navbar:hover {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* New logo styling */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    animation: logoGradient 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes logoGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-container:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
}

.logo-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.logo-text {
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--light);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.03em;
    animation: logoTextPulse 2s ease-in-out infinite;
}

@keyframes logoTextPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }
}

/* Replacing old logo styles */
.logo {
    display: flex;
    align-items: center;
    padding: 5px;
}

.logo h1 {
    /* Remove or comment out these styles */
}

.logo h1:hover {
    /* Remove or comment out these styles */
}

.logo h1 .letter {
    /* Remove or comment out these styles */
}

.logo h1:hover .letter {
    /* Remove or comment out these styles */
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    gap: 10px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.nav-links a i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--pink);
    margin-right: 4px;
}

.nav-links a:hover i {
    transform: translateY(-2px);
    color: var(--purple);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.3s ease;
}

.nav-link {
    position: relative;
    z-index: 1;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 166, 201, 0.1);
    border-radius: 5px;
    z-index: -1;
    transition: width 0.3s ease;
}

.nav-link:hover:before {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    margin: 4px;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--light-purple) 100%);
    padding: 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.4) 0%, transparent 70%),
                radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--dark);
    position: relative;
}

.hero-content h1 .highlight {
    font-weight: 700;
    display: inline-block;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(216, 181, 255, 0.2);
    letter-spacing: -0.02em;
    transform: scale(1.05);
    padding: 0 5px;
    transition: all 0.3s ease;
}

.hero-content h1 .highlight:hover {
    text-shadow: 0 5px 15px rgba(255, 166, 201, 0.4);
    transform: scale(1.08);
    background: linear-gradient(to right, var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 500;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About section */
.about-section {
    background-color: var(--light);
    padding: 80px 0;
}

.about-section h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    font-weight: 600;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    padding-right: 50px;
    min-width: 300px;
}

.about-text h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
    padding: 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    margin: 0 auto;
}

.square-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 300px;
    height: 300px;
    transform: rotate(45deg);
    margin: 30px auto;
    position: relative;
    transform-origin: center center;
}

.square {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform-origin: center;
}

.square:hover {
    transform: scale(1.05);
}

.pink {
    background-color: var(--pink);
}

.purple {
    background-color: var(--purple);
}

.yellow {
    background-color: var(--yellow);
}

.teal {
    background-color: var(--teal);
}

/* Team section */
.team-section {
    background-color: var(--gray);
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.4s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--light);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.member-initial {
    font-size: 3.5rem;
    font-weight: bold;
    opacity: 0.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pink-border {
    border: 5px solid var(--pink);
}

.pink-border .member-initial {
    color: var(--pink);
}

.purple-border {
    border: 5px solid var(--purple);
}

.purple-border .member-initial {
    color: var(--purple);
}

.yellow-border {
    border: 5px solid var(--yellow);
}

.yellow-border .member-initial {
    color: var(--yellow);
}

.teal-border {
    border: 5px solid var(--teal);
}

.teal-border .member-initial {
    color: var(--teal);
}

/* Override for Aubrey's photo with the image */
.yellow-border[style*="background-image"] .member-initial {
    opacity: 0;
}

/* Override for Andy's photo with the image */
.teal-border[style*="background-image"] .member-initial {
    opacity: 0;
}

.team-member h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.team-member p {
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.team-member p i {
    color: var(--pink);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.team-member:hover p i {
    transform: rotate(15deg);
    color: var(--purple);
}

/* Color-specific role icons */
.team-member:nth-child(1) p i {
    color: var(--pink);
}

.team-member:nth-child(2) p i {
    color: var(--purple);
}

.team-member:nth-child(3) p i {
    color: var(--yellow);
}

.team-member:nth-child(4) p i {
    color: var(--teal);
}

/* Gallery section */
.gallery-section {
    text-align: center;
    background-color: var(--light);
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    background-color: var(--gray);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:nth-child(1) {
    background-color: var(--light-pink);
}

.gallery-item:nth-child(2) {
    background-color: var(--light-purple);
}

.gallery-item:nth-child(3) {
    background-color: var(--yellow);
}

.gallery-item:nth-child(4) {
    background-color: var(--teal);
}

.gallery-item:nth-child(5) {
    background-color: var(--pink);
}

.gallery-item:nth-child(6) {
    background-color: var(--purple);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact section */
.contact-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-pink) 100%);
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    font-weight: 600;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    flex: 1;
    padding: 50px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    color: var(--light);
    text-align: left;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--pink);
    transition: transform 0.3s ease;
}

.contact-info p:hover i {
    transform: scale(1.2);
    color: var(--purple);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--pink);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--pink);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
    
    .navbar {
        padding: 8px 3%;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .burger {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-active {
        transform: translateX(0%) !important;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form, 
    .contact-info {
        width: 100%;
        padding: 25px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 15px;
    }
    
    .about-content {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .about-section h2 {
        text-align: left;
        padding: 0 20px;
    }
    
    .hero-content h1 .highlight {
        transform: scale(1.03);
        letter-spacing: 0.3px;
    }
    
    .logo-container {
        height: 40px;
        width: 60px;
    }
    
    .logo-text {
        font-size: 1.7rem;
    }
    
    .secret-button {
        bottom: 20px;
        left: 20px;
    }
    
    .rules-btn {
        margin-top: 15px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .contact-section h2,
    .team-section h2 {
        font-size: 2rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
    
    .footer-content {
        padding: 0 15px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        width: 70%;
    }
    
    .square-container {
        width: 200px;
        height: 200px;
        transform: rotate(45deg) scale(0.9);
    }
    
    .contact-form,
    .contact-info {
        padding: 30px;
    }
    
    .footer-content > div {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
    .about-section h2 {
        text-align: left;
        padding: 0 20px;
    }
    
    .hero-content h1 .highlight {
        transform: scale(1.02);
        letter-spacing: 0.2px;
        padding: 0 3px;
    }
    
    .logo-container {
        height: 35px;
        width: 50px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .secret-button {
        bottom: 20px;
        left: 20px;
    }
}

/* Updated nav link fade animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Improve animation performance with hardware acceleration */
.nav-links a,
.btn,
.team-member,
.member-photo,
.hero-content h1 .highlight,
.logo h1,
.logo h1 .letter {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Fix for iOS devices */
@supports (-webkit-touch-callout: none) {
    .hero,
    .about-section,
    .team-section,
    .contact-section {
        background-attachment: scroll;
    }
}

/* Optimize transitions */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Section reveal animation */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.section-active {
    opacity: 1;
    transform: translateY(0);
}

/* Additional animation for gallery images */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.gallery-item:hover {
    animation: pulse 2s infinite;
}

/* Additional hover effects */
.team-member:hover h3 {
    color: var(--pink);
}

.btn:hover {
    letter-spacing: 1px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--pink), var(--purple));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--purple), var(--pink));
}

.nav-active {
    background-color: rgba(255, 166, 201, 0.1) !important;
    box-shadow: 0 2px 8px rgba(216, 181, 255, 0.15);
}

.nav-active:before {
    width: 100%;
}

.nav-active i {
    color: var(--purple) !important;
}

/* Form validation and success styles */
.form-message {
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.success-message {
    background-color: rgba(144, 238, 144, 0.2);
    color: #32CD32;
    border: 1px solid #32CD32;
}

.error-message {
    background-color: rgba(255, 99, 71, 0.2);
    color: #FF6347;
    border: 1px solid #FF6347;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 5px rgba(216, 181, 255, 0.5);
}

/* Add animation for the submit button */
.btn[type="submit"] {
    position: relative;
    overflow: hidden;
}

.btn[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn[type="submit"]:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Burger menu animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.toggle .line2 {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Secret button styling */
.secret-button {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(100, 100, 100, 0.4);
    font-size: 16px;
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.4;
    overflow: hidden;
}

.secret-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 166, 201, 0.1) 0%, rgba(216, 181, 255, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.secret-button:hover {
    transform: translateY(-3px) rotate(15deg);
    color: var(--pink);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.secret-button:hover:before {
    opacity: 1;
}

.secret-button:active {
    transform: translateY(0) scale(0.95);
}

/* Official Rules Button */
.rules-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    color: var(--light);
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    text-decoration: none;
}

.rules-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.rules-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg, var(--purple), var(--pink));
}

.rules-btn:hover i {
    transform: translateY(-2px) rotate(-10deg);
}

.rules-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
