@charset "UTF-8";

/* ========================================
   TACK2427 Profile Site - Global Styles
   ======================================== */

:root {
    --primary: #6c5ce7;
    --primary-dark: #5b4bc4;
    --secondary: #00cec9;
    --accent: #fd79a8;
    --dark: #2d3436;
    --light: #f8f9fa;
    --gray: #636e72;
    --card-bg: #ffffff;
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-2: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
    --gradient-3: linear-gradient(135deg, #fd79a8 0%, #fab1a0 100%);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 40px;
}

.hero-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 4px solid rgba(255,255,255,0.5);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
    overflow: hidden;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.hero .tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
    font-size: 2rem;
}

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

/* ========================================
   Section Styles
   ======================================== */

.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* ========================================
   Cards
   ======================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-link:hover {
    gap: 12px;
}

/* ========================================
   Platform Cards (Colored)
   ======================================== */

.platform-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.platform-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.platform-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.platform-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.platform-info .platform-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gray);
}

.platform-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   Timeline
   ======================================== */

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   Tags
   ======================================== */

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark);
    color: white;
    padding: 60px 40px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ========================================
   Breadcrumb
   ======================================== */

.breadcrumb {
    background: var(--gradient-1);
    padding: 100px 40px 40px;
    color: white;
    text-align: center;
}

.breadcrumb h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* ========================================
   Content Page Styles
   ======================================== */

.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.content-page h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.content-page h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--primary);
}

.content-page p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.content-page ul, .content-page ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-page li {
    margin-bottom: 10px;
    color: var(--gray);
}

/* ========================================
   Gallery Grid
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.gallery-item:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gallery-item:nth-child(5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gallery-item:nth-child(6) { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   Table Styles
   ======================================== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th {
    background: var(--gradient-1);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
}

.data-table tr:hover td {
    background: #f8f9fa;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        padding: 60px 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Animations
   ======================================== */

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   Special Sections Backgrounds
   ======================================== */

.bg-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8e0ff 100%);
}

.bg-dark {
    background: var(--dark);
    color: white;
}

.bg-dark .section-title {
    color: white;
}

.bg-dark .section-title::after {
    background: var(--secondary);
}

.bg-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   Profile Image
   ======================================== */

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.profile-img-lg {
    width: 180px;
    height: 180px;
}

/* ========================================
   Kids Zone - Fun Elements
   ======================================== */

.kids-zone {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 50%, #ff7675 100%);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kids-zone::before {
    content: '🎮';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    top: -20px;
    right: -20px;
    animation: spin 10s linear infinite;
}

.kids-zone::after {
    content: '⭐';
    position: absolute;
    font-size: 5rem;
    opacity: 0.1;
    bottom: -10px;
    left: -10px;
    animation: spin 15s linear infinite reverse;
}

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

.kids-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 5px;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.fun-fact {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.fun-fact::before {
    content: '💡';
    position: absolute;
    font-size: 4rem;
    opacity: 0.2;
    right: 10px;
    top: 10px;
}

.sticker {
    display: inline-block;
    font-size: 2rem;
    margin: 0 5px;
    animation: bounce-sticker 1s ease-in-out infinite;
}

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

/* Confetti animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary);
    animation: confetti-fall 3s linear infinite;
    z-index: 9999;
    pointer-events: none;
}

@keyframes confetti-fall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Secret hover effect */
.secret-hover {
    position: relative;
}

.secret-hover::after {
    content: '👀';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.secret-hover:hover::after {
    opacity: 1;
    animation: bounce-sticker 0.5s ease-in-out infinite;
}
