/* CSS Variables */
:root {
    --primary-color: #006994; /* Ocean Blue */
    --secondary-color: #40E0D0; /* Turquoise */
    --accent-color: #FF7F50; /* Coral */
    --text-color: #ffffff;
    --bg-gradient-start: #0f2027;
    --bg-gradient-mid: #203a43;
    --bg-gradient-end: #2c5364;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-mid), var(--bg-gradient-end));
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 60px 0;
}

/* Ocean Background Animation */
.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bubble {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    bottom: -50px;
    animation: rise 10s infinite ease-in;
}

.x1 { left: 10%; animation-duration: 8s; transform: scale(0.4); }
.x2 { left: 20%; animation-duration: 12s; transform: scale(0.7); }
.x3 { left: 35%; animation-duration: 6s; transform: scale(0.5); }
.x4 { left: 50%; animation-duration: 10s; transform: scale(0.3); }
.x5 { left: 65%; animation-duration: 14s; transform: scale(0.6); }
.x6 { left: 80%; animation-duration: 9s; transform: scale(0.4); }
.x7 { left: 90%; animation-duration: 7s; transform: scale(0.8); }

@keyframes rise {
    0% { bottom: -50px; transform: translateX(0); }
    50% { transform: translateX(20px); }
    100% { bottom: 110%; transform: translateX(-20px); }
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero h1 {
    font-size: 5rem;
    color: var(--secondary-color);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #e0f7fa;
    margin-bottom: 30px;
}

.hero-image-container {
    margin: 30px auto;
    max-width: 300px;
}

.mascot-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.mascot-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--secondary-color);
    color: #004d40;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: #004d40;
}

/* CA Box */
.ca-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ca-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 90vw;
}

.ca-label {
    color: var(--secondary-color);
    font-weight: 700;
}

.ca-text {
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.2);
    color: white;
}

.toast {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast.show {
    opacity: 1;
}

/* About Section */
.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-card h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.about-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
}

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

/* Gallery Section */
.gallery {
    text-align: center;
}

.gallery h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.meme-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    aspect-ratio: 1; /* Keep quotes square-ish */
}

.meme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.meme-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    background: rgba(0,0,0,0.2);
}

/* Utilities / Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-pop {
    animation: pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .hero h2 { font-size: 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
